----- Original Message -----
From: "erich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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?
>
>

Hi Erich,

I just happened to be browsing the list archives and came across your
post. What code are you using? I did a quick test with:

<?php

$blah = gethostbyaddr("64.246.30.37");
print "$blah\n";

?>

and it outputs the correct output (rs1.php.net)

I couldn't find your email address in our system so I don't know
which specific server you are on but it should work on any of them.

Open a ticket in your CP if you still can't get it to work.

Greg
(phpwebhosting.com support)



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

Reply via email to