I recently installed a local copy of PHP 4.3.0, which of course runs as a CGI process. When I use that copy, my $PHP_SELF variable is unset. Has anyone else encountered this problem? I know some of you have put 4.3.0 on their own sites. Also, are there any plans to upgrade the Apache module to 4.3.0?
Try using $_SERVER[‘PHP_SELF’] instead of $PHP_SELF.
Ah… I should have mentioned that I tried that. Same result. I deliberately turned globals off, so I access all my server variables through $_SERVER, all me gets through $_GET, etc.