I did a quick google search and came up with this off of phpfreaks.com: $PHP_SELF should not be used because it will not work without register_globals being enabled. Rather, you should use $_SERVER['PHP_SELF'] for it.
cscgal
The Queen of DaniWeb
19,432 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230