Re: $PHP_SELF not set !

From: Date: Tue, 27 Nov 2001 12:57:45 +0000
Subject: Re: $PHP_SELF not set !
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-4068@lists.php.net to get a copy of this message
> Richard; > > I run a production server with Apache/Win32 with PHP 4.0.6 as an Apache module. > > $PHP_SELF is used all over the place in my scripts, without a problem. I rarely reference a page's name directly, I almost always call $PHP_SELF instead. Lets get everyone to read the manual and all will be revealed :) $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. - James

« previous php.qa (#4068) next »