I want to detect the url my .php lies in.

This is over kill and BS:

$myurlvar = "http://".$SERVER_NAME.parse($SCRIPT_NAME);

How do I get "http://foo.com/dir1/dir2/dir3/";.

There seems to be nothing in phpinfo() that will give me a full url to
play with.

Flame me if you will, but I browsed TFM and found nothing inspirational.

Looked at phpinfo() too and got discouraged.

I need a full url.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to