Wow, I'm REALLY surprised at namecheap (allegedly) doing underhand stuff, tbh they're one of the one's I trusted. I personally haven't had any such problems with them but I'll be a bit more cautious now. I have heard of GoDaddy being untrustworthy and some others I won't mention but it seems no-one can be trusted now :sigh:
I have had a bad experience with eurodns though, they 'stole' a domain name. I looked up and then registered a .it (Italian) domain name, a good one too, and after I'd paid with credit card I got a message to say the payment had problems and was refused so it didn't go through. When I then tried to re-register it with a different card it had been taken and I couldn't get it anymore, this was only minutes later. However I was able to register two other .it domains using that first card without issues, wtf? B*stards!
I chose eurodns because they were the cheapest at the time for those tld's but I had one hell of a job trying to set up those other domains with nameservers for hosting, their control panel is a real nightmare to use and communicating with their support is like trying to nail jelly to a tree, so definately one to avoid imho. (Yes, I can prove the above if any lawyers ask but only on production of a subpoena (covering my 'six')) This was over a year ago now but I won't ever trust them again.
I did try the script posted btw and it showed domains in redemption as available, which they're not, and I have been using something similar myself for many months, usually just to check nameserver info and expiry dates mostly but it does show up owner details too on some tld's.
So for the benefit of anyone that want's a copy here it is, use at your own risk 
There are 3 files total, index.css, index.php & whois.php so just copy 'n paste into files and upload to their own folder (directory) on the domain of your choosing. It works on the same principle i.e. uses unix own inbuilt stuff ...
index.css:
Code:
#wrapper {
margin: 1em auto;
padding: 1em;
width: 900px;
border: 1px solid #000;
}
h1 {
color: #560000;
text-align: center;
}
h2, form, address, p {
text-align: center;
}
address {
margin-top: 1em;
}
pre {
word-wrap: break-word; /* This prevents words from spilling outside the black box */
font-family: serif;
}
index.php:
Code:
<!DOCTYPE html>
<html>
<head>
<title>Whois Page</title>
<link rel="stylesheet" type="text/css" href="index.css" />
</head>
<body>
<div id="wrapper">
<h1>My Own Whois Page</h1>
<h2>Perform a whois lookup now!</h2>
<form method="post" action="whois.php">
<input type="text" name="domain" onfocus="this.select()" value="domain.com" />
<input type="submit" name="submit" value="Lookup" />
</form>
<address>© 2010 <a title="Home" href="index.php">Home</a></address>
</div>
</body>
</html>
&
whois.php
Code:
<?php
$domain = $_POST["domain"];
$process = escapeshellcmd("$domain");
$output = shell_exec("whois $process");
?>
<!DOCTYPE html>
<html>
<head>
<title>Whois Page - Looking up <?php echo htmlspecialchars("$domain"); ?></title>
<link rel="stylesheet" type="text/css" href="index.css" />
</head>
<body>
<div id="wrapper">
<h1>My Own Whois Look-Up Page</h1>
<?php if ( $domain !== NULL ) { ?>
<h2>Looking up <?php echo htmlspecialchars("$domain"); ?></h2>
<form method="post" action="whois.php">Another?
<input type="text" name="domain" onfocus="this.select()" value="<?php echo $domain; ?>" />
<input type="submit" name="submit" value="Lookup" />
</form>
<pre><?php echo htmlspecialchars("$output"); ?></pre>
<?php } else { ?>
<p>No domain was specified.</p>
<?php } ?>
<address>© 2010 <a title="Home" href="index.php">Home</a></address>
</div>
</body>
</html>
This does work for me but I'm not posting a demo 'cause it'll get hammered by spammers and/or bots.
Bookmarks