Re: Check if var is a domain name

From: Date: Wed, 06 Feb 2002 10:33:04 +0000
Subject: Re: Check if var is a domain name
Groups: php.general 
Request: Send a blank email to php-general+get-83695@lists.php.net to get a copy of this message
Oh, according to the manual this doesn't work on Windowz. bvr. On Wed, 06 Feb 2002 11:26:42 +0100, bvr wrote: > >You can online check for a valid domain using > >if (checkdnsrr($mydomain, "SOA")) >{ > echo("is valid domain"); >} > >note that www.mynewdomain.com CAN be a valid domain also. > >bvr.

« previous php.general (#83695) next »