//RegisterProspect function will send all information to register.cgi
//Here is exaple of using this fuction
//RegisterProspect('useremail@hotmail.com','John Doe');
function RegisterProspect($email,$name)
{
$email=urlencode($email);
$name=urlencode($name);
$URL="http://a.nexti.eu/register.cgi";
$account=22;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"$URL");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
"account=$account&email=$email&name=$name"
);
curl_exec ($ch);
curl_close ($ch);
}
?>