Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

gethostname

Description

The gethostname of Network for PHP gets the host name.

Syntax

gethostname ( void ) : string

Return

Returns a string with the hostname on success, otherwise FALSE is returned.

Examples

1

<?

$return = gethostname();

echo $return;

?>
sandie
HomeMenu