Can you fetch available domain names?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
evilcoder
Forum Contributor
Posts: 345
Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia

Can you fetch available domain names?

Post 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?
User avatar
daven
Forum Contributor
Posts: 332
Joined: Tue Dec 17, 2002 1:29 pm
Location: Gaithersburg, MD
Contact:

Post 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.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post 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?
Post Reply