RE: [PHP] Check if php file is an included file?

2003-07-15 Thread Student4
i think we checking in file2.php that it is included by file1.php by using defining constatnta the code something like this file1.php define('__FOO_BAR',1) include('file2.php'); . file2.php if (!defined('__FOO_BAR')){ doredirect('file1.php'); } //your code goes by here . -Or

[PHP] Handling Credit Card Payment

2003-07-09 Thread Student4
dear all hello im new user. i want create e-comerce site but i dont know how to handle credit card paying, procedure, maintenence, etc. can anybody help me? regard, xmadda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Incrementing counter from an HTML page.

2003-07-08 Thread Student4
i think you can use image counter a tag img connect to our script, something like this where the file phpcounter.php is generate counter in image form Glory! The problem I am facing is that my Index page can be an HTML page only.. not PHP. I cant use framesets, redirects etcetera. I want