PLEASE SIGN-ME OFF !
| From: | treiger | Date: | Wed, 16 Jan 2002 13:22:03 +0000 |
| Subject: | PLEASE SIGN-ME OFF ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80694@lists.php.net to get a copy of this message | ||
PLEASE SIGN-ME OFF !
I've sent already all emails requested to sign-me off this list, but I keep
receiving emails!!!!
----- Original Message -----
From: "Nicolas Costes" <nicolas.costes@laroche.univ-nantes.fr>
To: "PHP ((E-mail))" <php-general@lists.php.net>
Sent: Wednesday, January 16, 2002 12:01 PM
Subject: [PHP] GetHostByName
> Hi all !!!
>
> I've made a PHP script which takes IP's of my network (x.x.x.2 ->
x.x.x.254)
> and then uses GetHostByName() to resolv names of the machines if they
exist.
> (This is in order to check for free IP's and redo my DHCP config)
>
> But this only works for my own machine, because I filled my /etc/hosts
with
> it's address and name... PHP (Or Linux) doesn't try to check "outside"
>
> What can i do ???
> Do I have to lauch any kind of daemon to resolve names ???
> Most of my machines are addressed by DHCP.
>
> Note : Same kind of program written with C++ returns " Unknown Host"
>
> Thanx,
> --
> ( °> Nicolas Costes
> //\\ IUT de La Roche / Yon
> / \/ ) Nicolas.costes@Laroche.univ-nantes.fr
> '-<< http://luxregina.free.fr
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>