I have a php application that is installed on several servers and all of our developers laptops. I need a fast and reliable way to get the server\'s hostname or some other
You could also use...
$hostname = getenv('HTTP_HOST');