Follow the instructions below to get a functioning whois-lookup service on your website in a couple of minutes.
- Download the files..
 - Unzip the files to a folder on your computer.
 - Upload the files to the document root of your web server (the folder accessed by http://www.yoursite.com/).
 - If you want to use the caching options, set the permissions on the “/samswhois/cache” folder so that the script can create files in it.
 - Point your web browser to http://www.yoursite.com/whois-example.php
 
Congratulations! You should now have a fully functioning whois-lookup on your website.
To customize it to your website’s look and feel, modify the whois-example.php file with your own html.
You can quickly alter the design of the form and results by editing the css styles in the file swstyles.css.
The whois-example.php file contains a lot of comments describing how to set various options in the script.