Whois Script - Anyone know where to find one?

They have: 5,633 posts

Joined: Jan 1970

I am looking for a Whois script. In case you don't know what a whois script is, it is a script that you can put on your site. When someone enters a top level domain to check, it does. That way, your customers don't have to go to networksolutions.com to check the script (thus leaving your site).

I have seen a perfect script before but for the life of me, I can't find the site! It is in use on many Web Host's sites but none of them give the URL for the script. Anyone have any ideas?

----------
Dynamic Internet Solutions : http://www.dids.com
UNIX and Windows NT Hosting

They have: 109 posts

Joined: Apr 1999

I have seen a couple of hosting companies use this one @:
http://www.cdomain.com

At the time of posting I was unable to connect to the site though.

They have: 5,633 posts

Joined: Jan 1970

Dass,
That is it! Thanks so much! I knew it was something simple Smiling

----------
Dynamic Internet Solutions : http://www.dids.com
UNIX and Windows NT Hosting

They have: 5,633 posts

Joined: Jan 1970

With a very little knowledge of perl, you can make your own whois script to fit your needs.

Perl has the command whois, that gets the information about the specified domain name.

Example:

#!/usr/local/bin/perl
use CGI;
$i = new CGI;
$domain = $i->param(domain);
$results = `whois $domain`;

print "content-type: text/html\n\n";
print qq~
<html>
<head><title>Results for $domain</title></head>

<body bgcolor="ffffff">
<h2>Results for $domain:</h2>
$results
</body>
</html>~;

Ok ... this should work (unless BT messes up the code) Smiling

Good luck!

----------
wdresources
http://www.wdresources.com

They have: 5,633 posts

Joined: Jan 1970

Polpus,
Thanks for the info but the Cdomain script has so much more functionality. We really wanted the ability to search for domains other than TLDs as well as the TLDs which the Cdomain script could give us.

I did have knowledge of the PERL command for whois, but we were looking for something more powerful. Thank you for the suggestion though.

----------
Dynamic Internet Solutions : http://www.dids.com
UNIX and Windows NT Hosting

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.