Re: [PHP] Script Nane in CGI mode

2003-03-13 Thread Tom Rogers
Hi, Friday, March 14, 2003, 6:36:04 AM, you wrote: BY> Hi BY> When you want to know the name of the script you are running you can use BY> : $SCRIPT_NAME. BY> However, this info is not available when running a PHP script in CGI BY> mode. BY> If i have a fine called berber1.php and a link to this

[PHP] Script Nane in CGI mode

2003-03-13 Thread Boaz Yahav
Hi When you want to know the name of the script you are running you can use : $SCRIPT_NAME. However, this info is not available when running a PHP script in CGI mode. If i have a fine called berber1.php and a link to this file called berber2.php, how can i know in the code if it has been called f