hello, it is probably because in 4.2 register globals are set to off by default.
you have two choices: 1. do a search and replace on your scripts looking for $PHP_SELF and changing it to $_SERVER['PHP_SELF'] 2. assuming you use a common config file you can add $PHP_SELF = $_SERVER['PHP_SELF'] Regards, > I am relatively new to PHP, but I have a problem that no one > else has talk > about, so I'm guessing it's something simple. > I'm running PHP on WinXP (with IIS). I upgraded from PHP > 4.1.2 to PHP 4.2, > and now all of of my scripts that use the variable PHP_SELF > do not work. > Undefined variable. > I figured I had done something wrong, but when I uninstalled > PHP 4.2 and > reinstalled 4.1.2 all of my scripts worked again. > Scratch, scratch. Please help. > Scott > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php