On Thu, 25 Jan 2001 [EMAIL PROTECTED] wrote:

>$TheName=trim(gethostbyaddr($row->THEHOST."               "));
>
>The original line:
>
>$TheName=trim(gethostbyaddr($row->THEHOST));
>
>called using an unresolvable IP like xx.xx.x.xxx returned something like
>xx.xx.x.xxxMKJA, where MKJA represents some garbage I discovered was used to
>fill up to 15 chars (the maximum length for an IP).
>
>I guess an IP like 212.59.60.57 should do the job :-)

Nope, works for me just fine. No garbage in the end.
This is with the latest CVS. Please try the snapshot from
http://snaps.php.net/

--Jani


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to