Posted by Toby Inkster on 01/28/07 10:40
Sagari wrote:
> I only wished to say that gethostbyname() doesn't fit all the cases
> and, in general, it makes validation significantly slower.
Please do not top post.
I did mention towards the end, that it actually checks if $domain is a
valid Internet host. Depending on why the OP needs to "validate" the
domain name this may or may not be important.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|