A Whois search is a search bar that you use for checking for info about domains, like if they are availible or if when they expire.
To add this to your site, it takes two very simple steps...
STEP ONE
Add this code to the very top of the page...make sure the web page is saved as .php
STEP TWO
Now place this code wherever you want the actual search form to appear...
Enjoy!
To add this to your site, it takes two very simple steps...
STEP ONE
Add this code to the very top of the page...make sure the web page is saved as .php
PHP:
<? if($site != "") { exec("whois $site", $output, $error); while (list(,$line) = each($output)){ echo $line, "
n"; } } ?>
STEP TWO
Now place this code wherever you want the actual search form to appear...
Code:
<form action="" method="POST">
<input type="text" name="site" value=".COM .NET .ORG">
<input type="submit">
</form>
Enjoy!