Location: PHPKode > scripts > CJ Domain Whois > cj domain whois/example_index.php
<?
session_start();
include("initwhois.php");
include("config.php");
?>
<html>
<head>
<script type="text/javascript" src="functions.js"></script>
<link rel="stylesheet" type="text/css" media="screen, projection" href="css/<? print $stylesheet; ?>">
</head>
<body>

<h1>CJ Domain Whois V1.0 Demo</h1>

<div id="demo">
<form method="post" class="whoisform" action="<? print $_SERVER['REQUEST_URI']; ?>" onsubmit="return validateDomain(this.domain)"><span style="position:relative;top:-1px;">www.</span><input type="text" name="domain" value="<? print $_POST['domain']; ?>" />.
<?
renderTLDList();
?>
 <input type="submit" value="Go" />
</form>
</div>

<?
include("whois.php");
?>
Return current item: CJ Domain Whois