views:

98

answers:

4

How can I write a program in php to get the domain information of an existing domain or if a domain name is already taken...? I would like to get the information using php.

+1  A: 

Maybe checkdnsrr can help you.

nc3b
A: 

You could call the whois system command using backticks and parsing the output.

George Edison
A: 

Free: php Whois script

With fee : Whois API

systempuntoout
A: 

domainr is a great tool to lookup available domain names from a whole bunch of registrars.

and also happens to provide ajax api;

against its service, you can definitely use it in anyway you want.

phoenix24