Salut à tous!

Le manuel indique sous gethostbyname() : "Retourne l'adresse IP
correspondant à un hôte"
Mon but est d'obtenir l'adresse IP depuis le nom d'hôte, donc j'ai naïvement
décidé de tenter ceci :
$adresse = gethostbyname("http://www.blizzard.com";);

Et $adresse contient, bien évidemment (?) la valeur http://www.blizzard.com
!

Quelqu'un a une idée sur la manière de procéder (et pourrait m'en faire
profiter :) ?

-Sébastien



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to