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 from berber1.php or berber2.php? thanks berber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php