Re: $SCRIPT_NAME
| From: | Christian Dechery | Date: | Sun, 11 Nov 2001 18:13:06 +0000 |
| Subject: | Re: $SCRIPT_NAME | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74182@lists.php.net to get a copy of this message | ||
this happens when u run PHP as CGI in Apache.... try switching to the DSO module version... this will quit...
if u can't switch to DSO, you can always count on basename()..
basename($SCRIPT_NAME) will chop off the "/php/php.exe.." part and give you only the filename...
At 19:59 11/11/01 +0200, =?Windows-1257?B?TWFyaXVzIFBlcnRyYXboaXVz?= wrote:
Sveiki, php-general, I'm using Apache + PHP (Win32) When I try to find the name of the script, use $SCRIPT_NAME. But it returns me something like this: /php/php.exe Who could help me? Thank you... ____________________________ 2001.11.11, sekmadienis Marius Pertravèius iCQ: #125733984 Lietuva@xxx.lt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net_____________________________ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br