phppaper Posted December 13, 2008 Share Posted December 13, 2008 Anyone has the php check domain name script , the script to see if the domain is available and can post here for reference?? Quote Link to comment Share on other sites More sharing options...
Twister1004 Posted December 13, 2008 Share Posted December 13, 2008 I'm sure you can find one in Google =) Quote Link to comment Share on other sites More sharing options...
chronister Posted December 13, 2008 Share Posted December 13, 2008 You can use checkdnsrr() this will check dns records for the domain you enter. You can have it check for MX, A, CNAME records etc... It defaults to MX records. That would probably be the easiest. Run a domain name through that, if it returns true, the domain exists, if it returns false, then it is probably available for purchase. I use this in combination with an email formatting regex string to ensure that email addresses are not only valid format, but a valid domain as well. Nate Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.