[dev] PHP Warning: gethostbyaddr()

Serge Grondin SGrondin at csbf.qc.ca
Fri Oct 7 09:04:04 PDT 2005


Chuck Hagenbuch a écrit :

>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
>
>  
>
Thanks,

-- 
Never argue with idiots;
They'll drag you down to their own level
and beat you on experience.
                                    Unknown author

Programming today is a race between software engineers
to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots.

So far, the Universe is winning.
                                    Rich Cook - Author

Serge Grondin
Technicien en Informatique
Commission Scolaire des Bois-Francs
Tel. bur.:   (819) 758-6453, poste 2920
e-Mail bur.: SGrondin at csbf.qc.ca



More information about the dev mailing list