PHP | gethostbyaddr()

bu fonksiyon ise verdiğimiz ip adresinin hostname olarak bilgilerini verir.
kısaca bizim sunucumuzun ip adresi 72.21.45.10 biz bunu verdiğimizde
linux.aktifphp.net olarak hostname verecektir.

kullanımı

< ?php
$hostname = gethostbyaddr("72.21.45.10");
echo $hostname;
?>

0 Responses to “PHP | gethostbyaddr()”


  1. No Comments

Leave a Reply




Ahm is Digg proof thanks to caching by WP Super Cache