RE: [PHP] how to get rid of "php/php4.exe..."
| From: | Matt Williams | Date: | Sun, 26 Nov 2000 13:36:55 +0000 |
| Subject: | RE: [PHP] how to get rid of "php/php4.exe..." | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27260@lists.php.net to get a copy of this message | ||
> I configured my Apache (Win32) as told on the manual, and PHP is working
> fine here.
> but when I use $PHP_SELF it doesn't set it to blabla.php but to
> "/php/php4.exe/blabla.php"
> it runs ok, but it's quite nasty...
> how do I get rid of this? should I manually (I mean via PHP
> coding) rip off
> the "/php/php4.exe" from the string?
> ____________________________
>
basename($PHP_SELF)
should do it
M@