6.25.18 gethostbynamel()
Retourne la liste d'IP correspondante à un hôte
[ Exemples avec gethostbynamel ] PHP 3, PHP 4, PHP 5
array
gethostbynamel (
string
hostname
)
gethostbynamel
retourne la liste d'IP
correspondant à l'hôte
hostname
. Retourne
FALSE
si
hostname
ne peut être résolu.
Exemple avec gethostbynamel |
<?php $hotes = gethostbynamel('www.yahoo.com'); print_r($hotes); ?>
|
Voir aussi
gethostbyname
,
gethostbyaddr
,
checkdnsrr
,
getmxrr
et
la page 8 du manuel.
|