Home » » gethostname

gethostname

Written By 1 on Sunday, September 30, 2012 | 6:51 PM

string gethostname ( void )

Gets the host name

gethostname() gets the standard host name for the local machine.


<?php
echo gethostname(); // may output e.g,: sandie

// Or, an option that also works before PHP 5.3
echo php_uname('n'); // may output e.g,: sandie
?>


Metin2 jak zrobić dobra strone do własnego priva

0 Comment:

Post a Comment