What about gethostname()?
Edit: This might not be an option I suppose, depending on your environment. It’s new in PHP 5.3. php_uname(‘n’) might work as an alternative.
What about gethostname()?
Edit: This might not be an option I suppose, depending on your environment. It’s new in PHP 5.3. php_uname(‘n’) might work as an alternative.