[php] How to get request url string and server hostname
| From: | Harriet Xing | Date: | Tue, 25 Jun 2002 18:56:18 +0000 |
| Subject: | [php] How to get request url string and server hostname | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103818@lists.php.net to get a copy of this message | ||
Hi,
Would anyone know how to get the http request url string in php?
i.e., if the request is "http://www.myserver.com/test.php?param1=123",
how can I obtain this string in test.php?
Thank you,
Harriett