$_SERVER["SERVER_NAM E"] and $_SERVER["HTTP_HOST"] are good and all, but none
of them are reliable.
Eg: Not all subdomains will have a vhost entry for them in Apache, or the
Host: header is not filled in.
So are there any other methods of determining the URL of the script itself?
Alex
of them are reliable.
Eg: Not all subdomains will have a vhost entry for them in Apache, or the
Host: header is not filled in.
So are there any other methods of determining the URL of the script itself?
Alex
Comment