Re: Get full url

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

 



Dmitry wrote:
> 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.

Bad News: You've rule out the only solution there *IS*

Your best bet is to do this:
<?php phpinfo();?>

If what you want isn't in there, or you can't figure out how to compose it
from that, then you probably can't get what you want without changing
something in your web-server, rather than in PHP.

PHP pretty much just provides what your web-server provides -- If you
aren't getting what you want, it's not PHP's fault; It's your web-server
that is not providing you the info you need.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
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