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

gethostname

Description

The gethostname of Network for PHP gets the host name.

Syntax

gethostname(): string|false

Return

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

Examples

1 · void

<?

$return = gethostname();

echo $return;
sandie