Her:
<html>
<head>
<title>whois</title>
<script type=\"text/javascript\">
function waitasec()
{
document.getElementById(\"formwho\").style.display = \"none\";
document.getElementById(\"waiter\").style.display = \"block\";
}
</script>
</head>
<body>
<div id=\"formwho\" name=\"formwho\">
<form action=\"who.php\" method=\"get\" onsubmit=\"waitasec()\";>
whois <input type=\"text\" size=\"30\" maxlength=\"255\" name=\"q\">
<input type=\"submit\" value=\" go \">
</form>
</div>
<div id=\"waiter\" name=\"waiter\" style=\"display: none\">Wait a second...</div>
<?
if ($q != \"\")
{
$cont = join(\"\",file(\"
http://dk-hostmaster.dk/perl/Whois.pl?query=$q\"));
$cont = preg_replace(\"/^(.*<pre>)(.*)(<\\/pre>.*)$/si\",\"\\\\2\",$cont);
echo \"<hr><pre>$cont</pre>\";
}
?> </body>
</html>