note 17891 added to function.getenv
| From: | bugn at 21cn dot com | Date: | Mon, 31 Dec 2001 22:23:25 +0000 |
| Subject: | note 17891 added to function.getenv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24026@lists.php.net to get a copy of this message | ||
How could you replace the REQUEST_URI to work under IIS.
Is the following code ok?
getenv("REQUEST_URI")
equals
getenv("SCRIPT_NAME") ."?" .getenv("QUERY_STRING")
--
http://www.php.net/manual/en/function.getenv.php
http://master.php.net/manage/user-notes.php?action=edit+17891
http://master.php.net/manage/user-notes.php?action=delete+17891
http://master.php.net/manage/user-notes.php?action=reject+17891