Re: $PHP_SELF

From: Date: Sat, 05 Jan 2002 03:28:56 +0000
Subject: Re: $PHP_SELF
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-11310@lists.php.net to get a copy of this message
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

« previous php.windows (#11310) next »