• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
<?php include_once "include/header.php"; ?><?extract($_REQUEST);$ext = array('.com' => array('whois.crsnic.net','No match for'),'.net' => array('whois.crsnic.net','No match for'),'.biz' => array('whois.biz','Not found'),'.mobi' => array('whois.dotmobiregistry.net', 'NOT FOUND'),'.tv' => array('whois.nic.tv', 'No match for'),'.in' => array('whois.inregistry.net', 'NOT FOUND'),'.info' => array('whois.afilias.net','NOT FOUND'),'.co.uk' => array('whois.nic.uk','No match'),'.co.ug' => array('wawa.eahd.or.ug','No entries found'),'.or.ug' => array('wawa.eahd.or.ug','No entries found'),'.nl' => array('whois.domain-registry.nl','not a registered domain'),'.ro' => array('whois.rotld.ro','No entries found for the selected'),'.com.au' => array('whois.ausregistry.net.au','No data Found'),'.ca' => array('whois.cira.ca', 'AVAIL'),'.org.uk' => array('whois.nic.uk','No match'),'.name' => array('whois.nic.name','No match'),'.us' => array('whois.nic.us','Not Found'),'.ac.ug' => array('wawa.eahd.or.ug','No entries found'),'.ne.ug' => array('wawa.eahd.or.ug','No entries found'),'.sc.ug' => array('wawa.eahd.or.ug','No entries found'),'.ws' => array('whois.website.ws','No Match'),'.be' => array('whois.ripe.net','No entries'),'.com.cn' => array('whois.cnnic.cn','no matching record'),'.net.cn' => array('whois.cnnic.cn','no matching record'),'.org.cn' => array('whois.cnnic.cn','no matching record'),'.no' => array('whois.norid.no','no matches'),'.se' => array('whois.nic-se.se','No data found'),'.nu' => array('whois.nic.nu','NO MATCH for'),'.com.tw' => array('whois.twnic.net','No such Domain Name'),'.net.tw' => array('whois.twnic.net','No such Domain Name'),'.org.tw' => array('whois.twnic.net','No such Domain Name'),'.cc' => array('whois.nic.cc','No match'),'.nl' => array('whois.domain-registry.nl','is free'),'.pl' => array('whois.dns.pl','No information about'),'.pt' => array('whois.dns.pt','No match'));function return_status($domain, $status){global $extension;$domain = trim($domain);$wt = ($status == 'available') ? 'bold' : 'normal';if($status == 'invalid' && $extension == 'org') { $status .= ' (.org WHOISprevents request)'; }echo "<div style=\"font-weight:$wt\">$domain is $status!</div>";}?><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
 
<td width="29"><img src="images/box2.gif" width="29"height="29" /></td><td bgcolor="#F8F8F8">&nbsp;</td><td width="29"><img src="images/box1.gif" width="29"height="29" /></td></tr><tr><td height="510" bgcolor="#F8F8F8">&nbsp;</td><td valign="top" bgcolor="#F8F8F8"><table width="100%" border="0"cellspacing="0" cellpadding="0"><tr><td width="240" valign="top" bgcolor="#F8F8F8"><?phpinclude_once "include/left_menu.php"; ?></td><td width="1" height="510" background="images/line.gif"><imgsrc="images/line.gif" width="1" height="4" /></td><td valign="top"><table width="100%" border="0"cellspacing="0" cellpadding="5"><tr><td> <?if(strlen($_POST['domains']) > 0){$domains = $_POST['domains'];echo '<h2>Checking ' . count($domains) . ' domains</h2><br/>';echo (isset($_POST['save'])) ? 'Processing results, Pleasewait...<br /><br />' : null; unset($buffer);$domain=$domains.$extension1;echo $domain;preg_match('@^(http://www\.|http://|www\.)?([^/]+)@i',$domain, $matches); $tld = explode('.', $domain, 2);$extension = strtolower(trim($tld[1])); if(strlen($domain) > 0 && array_key_exists('.' .$extension, $ext)){$server = $ext['.' .$extension][0]; $sock = fsockopen($server, 43) or die('ErrorConnecting To Server:' . $server);fputs($sock, "$domain\r\n"); while( !feof($sock) ){$buffer .= fgets($sock,128);} fclose($sock);if($extension == 'org') echo nl2br($buffer); 
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...