tags:

views:

193

answers:

3

I guys.

I would like to know how to build on of those Domain Name Availability search that many hosting companies have.

I've looked around SO and found a Question about it, but the guy that asked it used a class for the hole job, and he didn't posted its code or referred any source.

Can somebody give me a hand how to build one for a website I'm building, using PHP of course.

Thanks.

+2  A: 

This might be a good place to start: Creating a domain checker

gclaghorn
It seemed to me a pretty easy code... I look at him and try it out.. After that i will tell something.
Fábio Antunes
Its works pretty well...But its only for .com domain names.But its pretty simple to implement to others.Does some know some "general" whois server for (.net .info .org ........).thanks
Fábio Antunes
+3  A: 

It's a pretty straight forward process as you are sending a request to whois-servers.net and evaluating the response. Check out the Bulk Availability Script at http://www.dnmedia.com/bulk_availability.php. It should do exactly what you need.

Check out the full article at http://dnmedia.com/the-power-of-whois/ which also has code for getting the domain owner's contact details.

Terrell
Thats exactly what i need :DThanks.
Fábio Antunes
+2  A: 

This seems to be a cool domain search tool that checks domain name availability. It even provides a Domain Search API that you can use in your program.

Very Good. Too bad the API url is broken. But sure it will fixed time soon. And I'm pretty sure that then i might even use it in a Flex app to embedded in my site.
Fábio Antunes