Home
Welcome To Sam's Whois!
Sam's Whois is a free php class with supporting scripts which make adding a domain name whois lookup to your website incredibly simple. The scripts were written by me, Sam, hence the name. Imaginative, huh?
Main Features
- All major tlds supported (including com, net, org, info, biz, us, co.uk, org.uk, etc).
- Optionally automatically redirect a query to the authoritative whois server for a tld where appropriate (.com and .net).
- CSS-based design for easy integration with your existing website design.
- Free to use (see the licence page for full details)
- Can cache whois lookup results for a specified amount of time, reducing bandwidth and system usage.
- Optionally require users to enter a randomly generated code, displayed as an image, for each lookup to stop people using scripts to abuse the system.
- Comes with a detailed and heavily commented example script fully illustrating usage.
- Easy installation - Basic version requires only 1 line of code. View the quickstart guide here.
- Optionally clean whois data of extraneous text (for some tlds).
- Easily limit which tlds are supported with one line of code.
- Optionally hilight main fields in the whois data for extra clarity.
See the features page for further information.
Download
The latest version of the script is available as a zip file on the download page.
It contains the core whois class, an easy to use include file, the example script, and a configuration file containing details of which whois servers to use for each tld.
Demo
For an example of the whois lookup script in action, see the demo page.
Documentation:
A quickstart installation guide is included in the download, and is also available to read online. Full instructions on how to configure the various options, as well as detailed information on how to use the samswhois class and the secure code image script, are available on the documentation pages.
Any Questions?
If you have any questions about the whois script, please submit them using the contact form, remembering to include your email address.
Thanks,
Sam Yapp.


