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
I am running PHP version 5.4 on shared hosting and both of these both successfully return the same results:
php_uname('n'); gethostname();