note 81650 added to function.getenv

From: Date: Sat, 08 Mar 2008 12:44:00 +0000
Subject: note 81650 added to function.getenv
Groups: php.notes 
Request: Send a blank email to php-notes+get-136834@lists.php.net to get a copy of this message
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']; ?> ---- Server IP: 117.104.160.194 Probable Submitter: 124.185.192.25 ---- Manual Page -- http://www.php.net/manual/en/function.getenv.php Edit -- https://master.php.net/note/edit/81650 Del: integrated -- https://master.php.net/note/delete/81650/integrated Del: useless -- https://master.php.net/note/delete/81650/useless Del: bad code -- https://master.php.net/note/delete/81650/bad+code Del: spam -- https://master.php.net/note/delete/81650/spam Del: non-english -- https://master.php.net/note/delete/81650/non-english Del: in docs -- https://master.php.net/note/delete/81650/in+docs Del: other reasons-- https://master.php.net/note/delete/81650 Reject -- https://master.php.net/note/reject/81650 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136834) next »