Page 1 of 1

Can you fetch available domain names?

Posted: Wed Mar 12, 2003 3:19 am
by evilcoder
Is there any way to use PHP to fetch available domain names, so people can search on my site without using an external site for it?

Do you understand what i mean? I want people to input a domain name into a field, then check whether its available and if it is, return with a "Congrat... yadda yadda" on my page, without using another site to do the search?

Posted: Wed Mar 12, 2003 10:43 am
by daven
I'm working on that myself, along with other such WHOIS stuff. Check out PHPwhois http://www.devshed.com/Server_Side/PHP/whois/page1.html

I have not gone over the code completely yet, but it seems to be able to do a whois search rather well. Just make sure you go through all the databases (ARIN, RIPE, etc). If a site is not registered with them, then it is available.

Posted: Sun Mar 16, 2003 12:43 pm
by m3mn0n
there should be an easy way to grab the results from a someone elses WHOIS page and display the variables it returns on your page. It's possible with news and weather, why not domain availibility?