Welcome to WebmasterWorld Guest from 54.161.95.0

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Domain Availabilty Lookup

XML query from provider

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

New User

10+ Year Member

joined:Oct 28, 2003
posts:23
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 6, 2000
posts:904
votes: 0


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

New User

10+ Year Member

joined:Oct 28, 2003
posts:23
votes: 0


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)

New User

10+ Year Member

joined:Oct 28, 2003
posts:23
votes: 0


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