i want to be able to search for domain on my site

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
adsegzy
Forum Contributor
Posts: 184
Joined: Tue Jul 28, 2009 9:26 am

i want to be able to search for domain on my site

Post by adsegzy »

I am a reseller of hosting plan, and i want to create a search field where my customers can insert thier desired domain name to search for the availlability and register it. i was told i can do this with php script but i dont no how to go about it, can someone pls help me out?
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: i want to be able to search for domain on my site

Post by jaoudestudios »

I think you need to pay for this service (usually a SOAP service).
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: i want to be able to search for domain on my site

Post by jackpf »

Forgive me if I am wrong, but can't you use getmxrr() or something?
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: i want to be able to search for domain on my site

Post by jaoudestudios »

but it wont check if the domain is truely available or not. Just because it has no mx does not mean it has not been registered.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: i want to be able to search for domain on my site

Post by Eran »

There are several whois APIs available, for example:
http://www.whoisxmlapi.com/
http://xml-api.domaintools.com/
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: i want to be able to search for domain on my site

Post by jackpf »

jaoudestudios wrote:but it wont check if the domain is truely available or not. Just because it has no mx does not mean it has not been registered.
True - I didn't think of that. Thanks for pointing that out.
adsegzy
Forum Contributor
Posts: 184
Joined: Tue Jul 28, 2009 9:26 am

Re: i want to be able to search for domain on my site

Post by adsegzy »

Hello Guys, Thank you for your affort contributed to my requst. I pray more cash t your wallets.
adsegzy
Post Reply