I have the same problem with PHP_SELF (ie: returning "/php/php.exe/path/to/file/filename.php") running Apache on NT as a CGI.
My only solution so var was to create and use the folowing function:
function returnself() {
global $PHP_SELF;
return substr($PHP_SELF, 13);
}
and use this to replace $PHP_SELF.
Ideally, however I would prefer a real fix.
Any ideas anyone?!?
doug wrote:
I'll bet that PHP is installed as CGI on your server and not as an Apache module.
I see this problem myself and have had no luck in overcoming it.
Anybody else have the answer?