Forum Moderators: coopster

Message Too Old, No Replies

domain availability searching feature

domain searching

         

phparion

11:49 am on Jan 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi

I want to add a Domain Availability feature to my website so that my users can check if the domain name is available for registration or not.

I am not sure if there is any PHP method for this? like to send a query to some database and getting resutls. Or I can use some third party tool on my website too?

thank you

coopster

3:35 pm on Jan 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



To the best of my knowledge there is no PHP function for this, however you can write your own process by executing a system command or two and extracting that information you want to display.

phparion

6:15 pm on Jan 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



what kind of system commands?

jatar_k

12:29 pm on Jan 27, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you should look for registrars that may have have an API for this

coopster

8:19 pm on Jan 28, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



what kind of system commands?

Search for whois and friends.

phparion

3:12 pm on Jan 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I didn't find any FRIENDS command. the linux whois command doesn't seem to be the right solution because many registrars hide the data e.g dreamhost they do not display the registrant information...

any other suggestion e.g any registrar who offers any API etc?

thank you

coopster

5:32 pm on Jan 29, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Sorry for the confusion, I meant friends as "related commands" not an actual command named "friends"

whois, nslookup, host, dig are commands that may be of interest