gethostbyaddr and IPv6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Does gethostbyaddr actually work for anyone while looking up an IPv6 address? I can't seem to get it to work. For example:

echo gethostbyaddr ( '2001:470:0:64::2' );

should return "ipv6.he.net" but instead I get the following error:

[21-Nov-2008 22:43:37] PHP Warning:  gethostbyaddr()
 [<a href='function.gethostbyaddr'>function.gethostbyaddr</a>]:
 Address is not in a.b.c.d form in C:\www\tests\saved\host.php on line 7

Google has not been my friend in this matter...

Any insight?
Thanks,
Glen

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux