[EMAIL PROTECTED] (Jaime Iniesta Aleman) wrote:

 > Here goes an easy one... I need a script that returns me the name of the
 > page it is in. I mean, if this script is in a page called "test3.php", then
 > it should return "test3.php", and if it is on a page called "heynow.php" it
 > should return, you guessed it, "heynow.php".

use $PHP_SELF ?

Henrik Hansen

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to