You are here: Re: Problem with gethostbyaddr « PHP Programming Language « IT news, forums, messages
Re: Problem with gethostbyaddr

Posted by Erwin Moller on 12/06/06 10:16

christian9997@hotmail.com wrote:

> christian9997@hotmail.com wrote:
>> Since yesterday about 11.00 CET the gethostbyaddr function doesn't seem
>> to be working. All I get is the IP address back. Is this something
>> general to all PHP users or is this specific to my server?
>
> Just tested it on my localhost and it works so it must be a problem on
> the server.
>
> Does anyone know what was changed on the server to stop it working?
>
> Thanks

Hi Christian,

gethostbyaddr() returns the original IP num if it cannot resolve it to a
hostname.
Did you by any chance change DNS settings?
Or is the machine itself the DNS server?

Also, if you didn't do so already, read all usercontributed notes at
php.net:
http://nl3.php.net/manual/en/function.gethostbyaddr.php

Good luck.
If you solve your problem, please post your findings here and/or at
www.php.net.

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация