note 81650 deleted from function.getenv by danbrown

From: Date: Sun, 20 Jul 2008 00:16:23 +0000
Subject: note 81650 deleted from function.getenv by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141830@lists.php.net to get a copy of this message
Note Submitter: dpholden at gmail dot com ---- In response to roland at mxchange dot org: $_SERVER['PHP_SELF'] is not the same as $_SERVER['SCRIPT_NAME'] Take the following url for example: http://www.myserver.com/forum.php/users/daniel <?php // The following on the above URL will print "forum.php/users/daniel" echo $_SERVER['PHP_SELF']; // This will print "forum.php" echo $_SERVER['SCRIPT_NAME']; ?>

« previous php.notes (#141830) next »