PHP function gethostname()
Gets the host name
Version availability: PHP 5.3.0
Gets the host name
Parameters
The function has no input parameters.
Return values
string
a string with the hostname on success, otherwise false is returned.
Other resources
Loading comments...