note 20289 added to reserved.variables
| From: | shane at icredibb dot com | Date: | Thu, 28 Mar 2002 18:52:28 +0000 |
| Subject: | note 20289 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28351@lists.php.net to get a copy of this message | ||
If you have having problems with request_uri, which is something that IIS doesnt seem to like, you
can use $location = $PHP_SELF . "?" . $HTTP_SERVER_VARS['QUERY_STRING']; which
will get the filename (index.php) and if you have anything after is (?function=foo) so it will end
up being index.php?function=foo. I had alittle problem with request_uri, and this worked perfectly.
--
http://www.php.net/manual/en/reserved.variables.php
http://master.php.net/manage/user-notes.php?action=edit+20289
http://master.php.net/manage/user-notes.php?action=delete+20289
http://master.php.net/manage/user-notes.php?action=reject+20289