Personal Information

Contact Information


Already Registerd   Login   Here
alert('Please enter the correct captcha code.')"; echo ""; } else { $check = mysql_query("SELECT * FROM register WHERE email = '$email' ") or die(mysql_error()); $check2 = mysql_num_rows($check); $check_user_name = mysql_query("SELECT * FROM register WHERE username = '$username'") or die(mysql_error()); $checkuser = mysql_num_rows($check_user_name); if ($checkuser != 0) { echo ""; /* echo ""; */ } else if ($check2 != 0) { echo ""; /* echo ""; */ } else if (($check2 != 0)&&($checkuser != 0)) { echo ""; /* echo ""; */ } else { $random1=rand(0,10000); $random2=rand(0,10000); $confirmation_code=$random1.$random2; $res = mysql_query("INSERT INTO register(username,pass_word,email,firstname,lastname,address,city,state,zipcode,telephone,url,confirmation_code,active) VALUES('$username','$password','$email','$firstname','$lastname','$address','$city','$state','$zipcode','$telephone','$url','$confirmation_code','n')"); echo ''; $check_msg = "Welcome to Bestcasinosreview.com"; $from = "bestcasinoreview@gmail.com"; $to = $email; $link='http://www.bestcasinosreview.com/confirmation-code.php?user='.$username.'&c='.$confirmation_code.''; $message='
Welcome to Bestcasinosreview.com
Hi '.$username.",".'
Your password:'.$password.'
Your website Name:'.$url."".'
You have to click the below link in that message in order to complete your registration.

Your Activation link:
'.$link.'


Thanks
Site Admin
'; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= 'From: <'.$from.'>' . "\r\n"; mail(''.$to.'',''.$check_msg.'',''.$message.'',$headers); } } } ?>
©2011 All Rights Reserved.www.bestcasinosreview.com.