note 111844 deleted from reserved.variables.server by aharvey
| From: | aharvey@php.net | Date: | Mon, 08 Apr 2013 01:22:52 +0000 |
| Subject: | note 111844 deleted from reserved.variables.server by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194375@lists.php.net to get a copy of this message | ||
Note Submitter: ring dot 00 dot zero at gmail dot com
----
REQUEST_URI:
The example given ( /index.html ) is misleading: REQUEST_URI provides actually the path up to the
file AND the query string. Like
<?php
echo $_SERVER['REQUEST_URI'];
// Display for instance '/path/index.php?x=12&foo=bar'