Location: PHPKode > projects > OpenDomains > include/src_signup.php
<?
if(define("opendomains", false)) die("Hacking System");
function adddomain($domain, $exe, $url, $email, $pass, $name, $title, $des, $key, $cloak, $fav, $visit, $date, $online, $status, $country, $cus1, $cus2, $cus3, $cus4) {
	global $config;
 	if(checkdomain($domain,$exe)==false) {
	$query=mysql_query("INSERT INTO `cl_domains` ( `id` , `wdomain` , `wexe` , `wurl` , `wemail` , `wpass` , `wname` , `wtitle` , `wdes` , `wkey` , `wcloak`, `wfav`, `wvisit` , `wdate` , `wonline`, `wact` , `wcountry` , `wcus1` , `wcus2` , `wcus3` , `wcus4` )
VALUES (
'0', '$domain', '$exe', '$url', '$email', '$pass', '$name', '$title', '$des', '$key', '$cloak', '$fav',  '$visit', '$date', '$online', '$status', '$country', '$cus1', '$cus2', '$cus3', '$cus4'
);")or die("Error Insert !");
	$query=mysql_query("select * from cl_country where ma='".$country."';");
	$ht=mysql_fetch_array($query);
	$new=$ht[soluong] + 1;
	$query=mysql_query("update cl_country set soluong='$new' where ma='".$country."';")or die("Not !");


	if($config[cache]=="yes") {
	$query=mysql_query("select * from `cl_domains` where wdomain='$domain' and wexe='$exe';");
	$acc=mysql_fetch_array($query);
	include("cache.php");
	ghi($acc,"../".$config[save]);
	}

	$ok=true;
	}
	else {
	$ok=false;	
	}
	return $ok;
}
?>
Return current item: OpenDomains