ONLINE ORDER PROCESS
'; } // Function to display an unavailable domain with additional links function dispun($what,$where) { echo ''; } function startborder() { echo '

 Step One - Your Domain Name

Tell us what domain name you want to use e.g 'mysite.co.uk':

  • If you want to use a new domain name: Search for it in the box below to see if it is 'Available', and then click on the 'Available' name you want to use to progress to the next stage. (a new domain name costs $20.00 for 2 years, accept .us domains which are only registered for 1 year.)
  •  
  • If you already own a domain name you want to keep using: Search for your domain in the box below, and then click on the 'Taken' name to progress to the next stage (FREE).

Please Enter a Suggested Domain Name
e.g type in the box below hostinghelper and NOT hostinghelper.co.uk

'); // Command in a main window define('CHECK_BUTTON', 'Check'); // Check button text define('META_CHARSET', 'iso-8859-1'); // Charset to be used in META tags define('META_LANGUAGE', 'en'); // Language to be used in META tags define('FOOTER_TEXT', '
Please wait for the answer - due to whois servers overload it may take a while to lookup all names. Sometimes you may need to reload the page and repeat lookup.
'); // text in footer define('FOOTER_RELOAD_TEXT', 'Reload'); // text of the link to reload the page // This is an extra layer displayed during domain search. It is helpfull when someone is // searching for all domains at once. // If you are not confident with layers at all // just disable it - set the first value below to false. define('WAIT_LAYER_ENABLED', true); define('WAIT_TITLE', 'Please wait...'); define('WAIT_MESSAGE', 'If the lookup takes too long (more than a minute), click here to reload the page and try again.'); define('LINK_REGISTER_TEXT', 'Register'); // Register link text define('STATUS_BAR_REGISTER_TEXT', 'Register'); // Status bar register message - when hovered over the "Register" link define('STATUS_BAR_DETAILS', 'Details of'); // Status bar "Details of" - when hovered over "Details" link define('LINK_TAKEN_DETAILS', 'Details'); // "Details" text define('LINK_TAKEN_GOTO', 'Goto'); // "Goto" text define('ALL_TEXT', 'all names'); // Text to display for all domains checking define('CLOSE_BUTTON_TEXT', 'Close window'); // "Close" button text in a details window define('AVAILABLE_TEXT', 'Available'); // Text displayed if the domain is available define('NOT_AVAILABLE_TEXT', 'Taken'); // Text displayed if the domain is not available define('ERROR_TOO_SHORT', 'The domain name you typed is to short - it must contain a minimum of 3 characters'); // Error message if the domain name is too short define('ERROR_TOO_LONG', 'The domain name you typed is to long - it must contain a maximum of 63 characters'); // Error message if the domain name is too long define('ERROR_HYPHEN', 'Domain names cannot begin or end with a hyphen or contain double hyphens'); // Error message if the domain starts with hyphen or contains double hyphen define('ERROR_CHARACTERS', 'Domain names can only contain alphanumerical characters and hyphens (e.g do NOT include the .com or .co.uk)'); // Error message if the domain contains other characters than letters, digits or hyphens // DESIGN PARAMETERS // Define lookup variables // .com .net domains //$com_server = "rs.internic.net"; // server to lookup for domain name $com_server = "whois.opensrs.net"; // server to lookup for domain name $com_nomatch = "No match"; // string returned by server if the domain is not found $com_include = true; // include this domain in lookup // .info domains $info_server = "whois.opensrs.net"; // server to lookup for domain name $info_nomatch = "Not found"; // string returned by server if the domain is not found $info_include = true; // include this domain in lookup // .org domains $org_server = "whois.publicinterestregistry.net"; // server to lookup for domain name $org_nomatch = "NOT FOUND"; // string returned by server if the domain is not found $org_include = true; // include this domain in lookup // .pl, .com.pl domains $pl_server = "whois.dns.pl"; // server to lookup for domain name $pl_nomatch = "does not exists"; // string returned by server if the domain is not found $pl_include = false; // include this domain in lookup // co.uk, org.uk, me.uk domains $uk_server = "whois.nic.uk"; // server to lookup for domain name $uk_nomatch = "No match"; // string returned by server if the domain is not found $uk_include = true; // include this domain in lookup // .biz domains $biz_server = "whois.nic.biz"; // server to lookup for domain name $biz_nomatch = "Not found"; // string returned by server if the domain is not found $biz_include = true; // include this domain in lookup // .us domains $us_server = "whois.nic.us"; // server to lookup for domain name $us_nomatch = "Not found:"; // string returned by server if the domain is not found $us_include = true; // include this domain in lookup // Shall we use register link? (true/false) $reglink = false; // If yes, give the url, it can be your affiliate link $regurl = ""; // Do you want a log file? (true/false) $wantlog = false; // If yes, give the log file name here // remember to chmod the file to 777 (change permition to writable for everyone) $logfile = "mrwhois.log"; /* ################################################################################################################# End of variables, you do not need to change anythin below this line. ################################################################################################################# */ // This function displays an available domain function dispav($what) { global $reglink, $regurl, $type; echo '

'; if ($reglink) { echo ''.LINK_REGISTER_TEXT.''; } else echo ' '; echo ' '.$what.' 
  '.$what.' Visit This Site
'; } function endborder() { echo '
'; } function disperror($text) { startborder(); echo '
'.$text.'
'; endborder(); } function main() { global $type, $ddomain, $com_include, $org_include, $uk_include, $pl_include, $info_include, $biz_include, $us_include; echo '
'; startborder(); echo '
'.MAIN_COMMAND.'
 
'; if ($com_include) { echo ' com net
'; } if ($org_include) { echo ' org
'; } if ($uk_include) { echo ' co.uk org.uk me.uk
'; } if ($pl_include) { echo ' pl com.pl
'; } if ($info_include) { echo ' info
'; } if ($biz_include) { echo ' biz
'; } if ($us_include) { echo ' us
'; } if ($com_include or $org_include or $uk_include or $pl_include or $info_include or $biz_include or $us_include) { echo ' '.ALL_TEXT.''; } echo '
'; endborder(); } function pageheader() { echo ' '; } function pagefooter() { echo ''; } if ($action == "details") { pageheader(); echo '
';
	$fp = fsockopen($server,43);
	fputs($fp, "$ddomain\r\n");
	while(!feof($fp))
	{
		echo fgets($fp,128);
	}
	fclose($fp);
	echo '
'; echo '

'; pagefooter(); exit; } elseif ($action == "checkdom") { if (WAIT_LAYER_ENABLED) { echo ' '; echo ' '; echo '
'.WAIT_TITLE.'

'.WAIT_MESSAGE.' '; } // Check the name for bad characters if(strlen($ddomain) < 3) { pageheader(); disperror(ERROR_TOO_SHORT); main(); pagefooter(); include("domain_footer.txt"); exit; } if(strlen($ddomain) > 63) { pageheader(); disperror(ERROR_TOO_LONG); main(); pagefooter(); include("domain_footer.txt"); exit; } if(ereg("^-|-$",$ddomain)) { pageheader(); disperror(ERROR_HYPHEN); main(); pagefooter(); include("domain_footer.txt"); exit; } if(!ereg("([a-z]|[A-Z]|[0-9]|-){".strlen($ddomain)."}",$ddomain)) { pageheader(); disperror(ERROR_CHARACTERS); main(); pagefooter(); include("domain_footer.txt"); exit; } pageheader(); startborder(); echo ' '; if ( ($type == "all" or $type == "com") and $com_include ) { $com_array = array($ddomain.".com",$ddomain.".net"); $com_count = count($com_array); $i=0; for ($i=0;$i<$com_count;$i++) { $domname = $com_array[$i]; $ns = fsockopen($com_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($com_nomatch,$result)) { dispav($domname); } else { dispun($domname,$com_server); } } echo ''; } if ( ($type == "all" or $type == "org") and $org_include ) { $org_array = array($ddomain.".org"); $org_count = count($org_array); $i=0; for ($i=0;$i<$org_count;$i++) { $domname = $org_array[$i]; $ns = fsockopen($org_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($org_nomatch,$result)) { dispav($domname); } else { dispun($domname,$org_server); } } echo ''; } if ( ($type == "all" or $type == "uk") and $uk_include ) { $uk_array = array($ddomain.".co.uk",$ddomain.".org.uk",$ddomain.".me.uk"); $uk_count = count($uk_array); $i=0; for ($i=0;$i<$uk_count;$i++) { $domname = $uk_array[$i]; $ns = fsockopen($uk_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($uk_nomatch,$result)) { dispav($domname); } else { dispun($domname,$uk_server); } } echo ''; } if ( ($type == "all" or $type == "pl") and $pl_include ) { $pl_array = array($ddomain.".pl",$ddomain.".com.pl"); $pl_count = count($pl_array); $i=0; for ($i=0;$i<$pl_count;$i++) { $domname = $pl_array[$i]; $ns = fsockopen($pl_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($pl_nomatch,$result)) { dispav($domname); } else { dispun($domname,$pl_server); } } echo ''; } if ( ($type == "all" or $type == "info") and $info_include ) { $info_array = array($ddomain.".info"); $info_count = count($info_array); $i=0; for ($i=0;$i<$info_count;$i++) { $domname = $info_array[$i]; $ns = fsockopen($info_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($info_nomatch,$result)) { dispav($domname); } else { dispun($domname,$info_server); } } echo ''; } if ( ($type == "all" or $type == "biz") and $biz_include ) { $biz_array = array($ddomain.".biz"); $biz_count = count($biz_array); $i=0; for ($i=0;$i<$biz_count;$i++) { $domname = $biz_array[$i]; $ns = fsockopen($biz_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($biz_nomatch,$result)) { dispav($domname); } else { dispun($domname,$biz_server); } } echo ''; } if (($type == "all" or $type == "us") and $us_include ) { $us_array = array($ddomain.".us"); $us_count = count($us_array); $i=0; for ($i=0;$i<$us_count;$i++) { $domname = $us_array[$i]; $ns = fsockopen($us_server,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi($us_nomatch,$result)) { dispav($domname); } else { dispun($domname,$us_server); } } echo ''; } echo '
  '.AVAILABLE_TEXT.' '.NOT_AVAILABLE_TEXT.'    
 
 
 
 
 
 
 
'; endborder(); if (WAIT_LAYER_ENABLED) { echo ''; } // if logging enabled write info to the file if($wantlog) { $remote_addr = $REMOTE_ADDR; $today = date("d-m-y H:i", time()); if (file_exists($logfile) and is_writeable($logfile)) { $fp = fopen($logfile,"a+"); $infolog = "Date: $today | IP: $remote_addr | $ddomain\n"; fputs($fp, $infolog); fclose($fp); } } main(); pagefooter(); } else { pageheader(); main(); pagefooter(); } ?>

 

 
 
Home Page | Our Products | Help Center | Contact Details | Read Testimonials | Become an Affiliate | Our Vision