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?
Can you fetch available domain names?
Moderator: General Moderators
- daven
- Forum Contributor
- Posts: 332
- Joined: Tue Dec 17, 2002 1:29 pm
- Location: Gaithersburg, MD
- Contact:
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.
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.