Need to create WHOIS page.

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
User avatar
PatelNehal
Forum Newbie
Posts: 21
Joined: Mon Mar 23, 2009 7:27 am
Location: Gujarat, India

Need to create WHOIS page.

Post by PatelNehal »

I am developing a site for domain registration and web hosting by using resellerclub.com API, now i want to create a page for WHOIS which provide the information for any website. But there is no API which provide this information. I asked them and they told me that :
use certain scripts at your end and make calls to our whois server, whois.directi.com at port 43.
What this mean and how can i use that??? is there any one who knows about it.???
BornForCode
Forum Contributor
Posts: 147
Joined: Mon Feb 11, 2008 1:56 am

Re: Need to create WHOIS page.

Post by BornForCode »

You contact their service with a call (soap, xmp-rpc) and they will reply with an xml probably, use that xml to display the information on your site. At least this is how should they do it.
Or you may use cURL (hardcore method) and check what they returns.
Or use a system command to ask their server and parse the text received.

To many or's :D, anyone else has a different idea?
Post Reply