note 39709 added to reserved.variables

From: Date: Sun, 08 Feb 2004 09:57:21 +0000
Subject: note 39709 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-64816@lists.php.net to get a copy of this message
'PHP_SELF' The filename of the currently executing script, relative to the document root. For instance, $_SERVER['PHP_SELF'] in a script at the address http://example.com/test.php/foo.bar would be /test.php/foo.bar. If PHP is running as a command-line processor, this variable is not available. === Arg ... what do mean exactly by command-line processor and how is one supposed to find out. I have some scripts that $PHP_SELF and they're simply not working anymore. Is there a new approach for self-referencing a file :/ ? ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39709 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39709&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39709&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64816) next »