Re: Get full url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux