Gregory Hart said something on 05 Jan 2002, in php.windows:

> Hi,
>     I understand that the variable $PHP_SELF doesn't always work. I'm
>     using Windows 98 SE with PHP 4.1.1. Is there any way to get
>     $PHP_SELF to work? 
> -Greg
> 

>From the manual: 
http://download.php.net/manual/en/language.variables.predefined.php
$PHP_SELF
The filename of the currently executing script, relative to the document 
root. If PHP is running as a command-line processor, this variable is not 
available. 

$SCRIPT_NAME usually works for me on most servers.

Regards,
David

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to