All content on this website is © Copyright 2000-2010 - All Rights Reserved
The content on this site may not be reused or republished.
Website template powered by VooWeb.com Website Templates
|
|
Authoring/Development - System CGI: whois
http://www.geektools.com
none
See below.
whois is a script that provides a Web-based interface to the standard whois service, allowing you to check the availability of a domain name. This interface provides support for .com, .net and .org no matter who the domain name was registered with (instead of supporting only InterNIC registrations). It also allows you to search most popular country domain extensions, provided there is a whois server for them.
In its simplest form, you may provide access to this script simply by linking to:
http://www.example.com/cgi-sys/whois
You may also provide a link back to your site by calling the script with the variable return
on the query string, like:
http://www.example.com/cgi-sys/whois?return=/index.html
In the example shown, after the first query was performed a link back to
http://www.example.com/index.html would be provided. In both examples, of course, your domain name should be substituted for example.com.
Lastly, you may also provide a form directly from your pages that allows people to query the script.
Sample code:
<form method="post" action="/cgi-sys/whois">
<input type="hidden" name="return" value="/index.html">
<input type="text" name="query" size="30">
<input type="submit" value="Check Domain">
</form>
This code would provide a link back to the index.html page of your domain name, as in the second
example.
NOTE: When using the return variable, you must use a "relative link" as the value back to your
site. This is achieved by removing the http://www.example.com (where example.com is
your domain name), and keeping the rest, as shown in the examples.
Please provide
feedback on this article.
|