Welcome to WebmasterWorld Guest from 54.167.177.207

Forum Moderators: coopster & jatar k & phranque

Domain Availabilty Lookup

XML query from provider

   
12:00 am on Dec 2, 2003 (gmt 0)

10+ Year Member



Recently received an XML query from a provider to do a domain availability lookup.
To utilise this query which is the best to use perl or PHP?
I am curently looking through this forum to learn as much as possible as this is all new to me ;)
Louise
12:28 pm on Dec 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you elaborate a little louise?
10:08 pm on Dec 3, 2003 (gmt 0)

10+ Year Member



We are wanting to put a domain availability check tool on our site and have received an XML query from the provider (where the domain database is held) but have not used XML before. We use whois php script for tld's but need this new one for accurate .au domain checks.

Here's what we have been given:

Send XML:
-------------
<Request>
<Command>check_domain</Command>
<CheckDomain>provider.com.au</CheckDomain>
<CheckDomain>provider.net.au</CheckDomain>
<CheckDomain>thisisasillydomain.com.au</CheckDomain>
</Request>

Reply:
---------
<Reply>
<Command>check_domain</Command>
<ResultCode>1000</ResultCode>
<CheckDomain>
<content>provider.com.au</content>
<Available>0</Available>
</CheckDomain>
<CheckDomain>
<content>provider.net.au</content>
<Available>0</Available>
</CheckDomain>
<CheckDomain>
<content>thisisasillydomain.com.au</content>
<Available>1</Available>
</CheckDomain>
<Result>Success</Result>
</Reply>

We can have as many 'CheckDomain' fields as needed.

Also, we were given telnet info and I trying to find out how we use it too.

I have done a tutorial for a simple perl guestbook and understood what i was doing to a point, but don't quite grasp how to integrate it (Perl) with this query.

I appreciate your help :)
Louise

2:16 am on Dec 8, 2003 (gmt 0)

10+ Year Member



Anyone have any suggestions whether I should use Perl or PHP?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month