Re: Get full url
| From: | Justin | Date: | Tue, 25 Jan 2005 01:48:49 +0000 |
| Subject: | Re: Get full url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207196@lists.php.net to get a copy of this message | ||
Dmitry wrote: in Re: [PHP] Get full url
How? Dont tell me about simple solutions such as $_SERVER["HTTPS"] . $_SERVER["REMOTE_ADDR"] . $_SERVER["SERVER_PORT"] . $_SERVER["PHP_SELF"] . $_SERVER["QUERY_STRING"] I want get really good solution.What does that even mean? Possibly SCRIPT_URI + '?' + QUERY_STRING is what you want but the question pretty unclear. What about post variables or redirects for example. No mention of webserver or OS either. If www.server.com/abc redirects on the serverside to www.server.com/xyz which url do you want? Ask a better question.