downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

getmxrr> <gethostbynamel
Last updated: Fri, 27 Nov 2009

view this page in

gethostname

(PHP >= 5.3.0)

gethostnameKonak ismini döndürür

Açıklama

string gethostname ( void )

gethostname() işlevi yerel makinenin standard konak ismini döndürür.

Dönen Değerler

Başarısızlık durumunda FALSE. aksi takdirde konak ismini bir dizge olarak döndürür.

Örnekler

Örnek 1 - gethostname() örneği

<?php
echo gethostname(); // çıktısı şu olabilir: posta
?>

Ayrıca Bakınız



add a note add a note User Contributed Notes
gethostname
jonasschaub at gmail dot com
07-Jul-2009 05:32
may help you with <5.3 :
php_uname('n');

getmxrr> <gethostbynamel
Last updated: Fri, 27 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites