I had this problem while running PHP under windows. I solved (well, rounded :) the problem with $SCRIPT_NAME (if I remember it right) which gives the very same result.
Niklas -----Original Message----- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: 19. helmikuuta 2002 8:05 To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP_SELF Undefined > When I execute the code below, why is PHP_SELF undefined? I will appretiate > any help on this. I can get its value by: > echo $_SERVER["PHP_SELF"]; Thanks in advance! -Teresa Is your PHP install >= version 4.1.0 ? You can test with a call to phpinfo(); If your version is less than 4.1.0, try the global variable $PHP_SELF instead. ------------------------------------------------------------------------ Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ ------------------------------------------------------------------------ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php