Dmitry wrote: in Re: 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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php