[dev] PHP Warning: gethostbyaddr()

Chuck Hagenbuch chuck at horde.org
Thu Oct 6 20:58:21 PDT 2005


Quoting Serge Grondin <SGrondin at csbf.qc.ca>:

> I have this warning in my php log and it annoyed me long enough that 
> I found a solution to silence this warning.
> PHP Warning:  gethostbyaddr(): Address is not a valid IPv4 or IPv6 
> address in /usr/share/pear/Horde/MIME/Headers.php on line 275

Nothing says the data's going to be valid even if it's not 'unknown', 
so I just silenced the gethostbyaddr() warnings.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list