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).

// change it here - if you changed the file name from mrwhois.php to something else
define('FILE_NAME', 'domain.php');
// Language settings
define('PAGE_TITLE_META', ''); // Title to be used in META tag within HEADER
define('POWERED_BY', ''); // Text to display in a footer, please do not change if you don't have to
define('MAIN_COMMAND', 'Please Enter a Suggested Domain Namee.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 '