Re: gethostbyname renvoie... un nom!
| From: | Piotr Pluciennik | Date: | Fri, 01 Feb 2002 14:42:26 +0000 |
| Subject: | Re: gethostbyname renvoie... un nom! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11769@lists.php.net to get a copy of this message | ||
English please... :-)
--- Sébastien Thüler <sthuler@isuisse.com> wrote: >
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:
> php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com