Re: gethostbyaddr woes
| From: | Ferhat Can | Date: | Wed, 26 Feb 2003 11:44:07 +0000 |
| Subject: | Re: gethostbyaddr woes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137216@lists.php.net to get a copy of this message | ||
Hi Eric,
You can test the gethostbyaddr function using the following script:
<?php
echo gethostbyaddr("64.29.28.221");
?>
It outputs 'mole.phpwebhosting.com' on my system. If it doesn't work the
same way for you, then there may be trouble with the phpwebhosting.
----- Original Message -----
From: "erich" <erichmj@earthlink.net>
To: <php-general@lists.php.net>
Sent: Wednesday, February 26, 2003 12:50
Subject: [PHP] gethostbyaddr woes
> for some reason i cannot retrieve a hostname using gethostbyaddr().
>
> if it helps, my host is http://phpwebhosting.com/. i have asked
> them
> countless times if it is something on their end causing this and have
> been told that it works for them and i must be doing
> something wrong. any suggestions?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php