Re: Getting whole URL
| From: | Dan Phiffer | Date: | Wed, 05 May 2004 18:07:40 +0000 |
| Subject: | Re: Getting whole URL | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185463@lists.php.net to get a copy of this message | ||
In my phpinfo() (Win2000, Apache2, PHP 4.3.4) my REQUEST_URI only gives everything after the host. If you wanted the host information along with that, you have to get that in the seperate index: HTTP_HOST. -- RobAnd, in general, if you want to browse around and see what kind of data you have available, this is a good way to check: echo '<pre>'; print_r($_SERVER); echo '</pre>'; -Dan