Location: PHPKode > scripts > CJ Domain Whois > cj domain whois/config.php
<?
/*
	CJ Domain Whois V1.0
	
	CONFIGURATION FILE
	
*/

# URL to your WHOIS script
$whoisUrl = "http://www.cj-design.com/demos/cjdomainwhoisv1";

# URL to send users to when the click the register button
# %domain% and %tld% are substituted with the searched-for domain and extension.
# example: $registerURL = "http://www.site.com/order.php?domain=%domain%%tld%";
$registerUrl = "http://www.cj-hosting.com/index.html?aid=102&page=order&domain=%domain%&tld=%tld%";

# Whether or not to show the "Register" button on the results page.  When click, the button will submit to the above URL
$showRegisterButton = true;

# Whether or not to show the price column in the results table.
$showPriceColumn = true;

# Width of the Whois popUp window
$whoisWindowWidth = 600;

# Height of the Whois popUp window
$whoisWindowHeight = 400;

# Progress image to show - see "images" folder for available animations (or add your own!)
$progressImage = "progressbar1.gif";

# Hide progress image by setting below variable to false
$showProgressImage = true;

# To show progress percent (instead of progress image), set below variable to true
$showProgressPercent = false;

# The maximum number of searches to allow per session - this is to combat misuse
$maximumSearches = 10;

# see "languages" folder for available languages
$language = "english";

# see "css" folder for available stylesheets - or create your own using an existing stylesheet as a guide!
$stylesheet = "styles1.css";

# If you get errors about exec() not working or "Warning: exec() has been disabled for security reasons",
# try changing the following variable to true
$useSocket = false;

#
# Read Carefully...
# ------------------
# Below is a list of Whois servers.  The Whois will look up in this order (and will also print
# in this order). Therefore, you can change the order here.  

# You can also add/delete domains to be looked up by the CJ Whois by commenting out the array item 
# (the first item is commented out to demonstrate this).  When adding (or editing) whois details below,
# remember to include the "nomatch" attribute which is what the whois server returns when the domain 
# IS available.  For more help on this, please consult the forum: www.cj-design.com/forum.

# You can also edit the price of each domain here.  The currency symbol can be found in the language
# files.  "English" currency sign is set as £ (pound) by default, you can change this to $ (dollar) by
# editing "/languages/english.php"
# 

$domainInfo = array(
		/*
		"xxx" => array(
				"server"=>"whois.example.commented.out"
				"nomatch"=>"no match",
				"price"=>10.99,
			),
		*/
		"com" => array(
				"server"=>"whois.crsnic.net",
				"nomatch"=>"no match",
				"price"=>12.99,
			),
		"co.uk" => array(
				"server"=>"whois.nic.uk",
				"nomatch"=>"no match",
				"price"=>4.975,
			),			
		"me.uk" => array(
				"server"=>"whois.nic.uk",
				"nomatch"=>"no match",
				"price"=>4.975,		
			),			
		"org.uk" => array(
				"server"=>"whois.nic.uk",
				"nomatch"=>"no match",
				"price"=>4.975,		
			),			
		"net" => array(
				"server"=>"whois.crsnic.net",
				"nomatch"=>"no match",
				"price"=>12.99,
			),
		"org" => array(
				"server"=>"whois.pir.org",
				"nomatch"=>"not found",
				"price"=>12.99,
			),
		"info" => array(
				"server"=>"whois.afilias.net",
				"nomatch"=>"not found",
				"price"=>12.99,
			),
		"name" => array(
				"server"=>"whois.nic.name",
				"nomatch"=>"no match",
				"price"=>12.99,
			),	
		"biz" => array(
				"server"=>"whois.nic.biz",
				"nomatch"=>"not found",
				"price"=>12.99,
			),
		"eu" => array(
				"server"=>"whois.eu",
				"nomatch"=>"FREE",
				"price"=>19.99,
			),
		"us" => array(
				"server"=>"whois.nic.us",
				"nomatch"=>"not found",
				"price"=>12.99,
			),
		"tv" => array(
				"server"=>"whois.nic.tv",
				"nomatch"=>"no match",
				"price"=>41.99,
			),
		"cc" => array(
				"server"=>"whois.nic.cc",
				"nomatch"=>"no match",
				"price"=>41.99,
			),
		"uk.com" => array(
				"server"=>"whois.centralnic.com",
				"nomatch"=>"no match",
				"price"=>34.99,
			),
		"uk.net" => array(
				"server"=>"whois.centralnic.com",
				"nomatch"=>"no match",
				"price"=>34.99,
			),
		"gb.com" => array(
				"server"=>"whois.centralnic.com",
				"nomatch"=>"no match",
				"price"=>34.99,
			),
		"eu.com" => array(
				"server"=>"whois.centralnic.com",
				"nomatch"=>"no match",
				"price"=>34.99,
			),
		"de.com" => array(
				"server"=>"whois.centralnic.com",
				"nomatch"=>"no match",
				"price"=>34.99,
			),
		"web.com" => array(
				"server"=>"whois.centralnic.com",
				"nomatch"=>"no match",
				"price"=>34.99,
			),
	);

//------------// !! DO NOT edit below this line !!! //------------//

$_SESSION['preventspam'] = md5($whoisUrl);
include("languages/".(($language) ? $language : "english").".php");
include("functions.php");
?>
Return current item: CJ Domain Whois