I am creating a script and there is an autoconfig file. I want to read in the web address of the server, and throw some correct URLs into the database.
Will using $_SERVER['HTTP_HOST'] guarantee getting me the domain name of the server on which the web page I am viewing is hosted? I am somewhat worried about using such variables because I seem to remember it being possible to disable them in PHP.ini, but I would love to get some feedback. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php