Actually, it is $PHP_SELF. Try $_SERVER['PHP_SELF'] Matthew Walker Senior Software Engineer ePliant Marketing
-----Original Message----- From: Weston Houghton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:14 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP 4.2x changes All, I've recently upgraded from 4.1.2 to 4.2.0. And of course my script has stopped working. I know a lot with the globals has changed, but to be honest, I am not sure how or why. Can anyone give me an initial lead as to what I should look for first? I know I use the following elements: $_SERVER["PATH_TRANSLATED"] $PHP_SELF I can't believe it is $PHP_SELF. What should I be wary of when using PHP Environment vars like: $_SERVER["PATH_TRANSLATED"] Thanks! Wes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php