" . "\r\n"; $headers .= "Reply-to: " . $xx_comment_mail_sender_name ."<". $xx_comment_mail_sender .">" . "\r\n"; $subject = "Your account created at $domain and use it for future purchasing."; $message="


Hello Member,
The following are the details of your account at $domain.

Username: $confirm_email
Password: $confirm_pass

$full_name, please use your details wisely.:

You can use these details on purchasing some items on our website. Go to $domain and purchase some items and while checkout just mention the details above and you wouldn't have to mention your complete address details next time your purchase something from this website.

Have a nice day sir/madam!


2008 © $domain powered by Economicalhost.com. All Rights Reserved.

"; $sent = mail($receiver, $subject, $message, $headers); // END EMAIL NOTIFICATION if ($sent){ $prod_msg .= "
"; $prod_msg .= "Please see the following information below and confirm if true or cancel if there is something to modify"; /*$prod_msg .= "Thank you for registering. An email concerning login details is sent to your email id $email.";*/ $prod_msg .= "
"; $processed_form = "yes"; } else { $prod_msg .= "
"; $prod_msg .= "Server authentication error!"; $prod_msg .= "
"; $processed_form = "yes"; } $Cancel=""; $Submit = "true"; header("location:login.html?Submit=true&url=users/index.php&email=$confirm_email&password=$confirm_pass"); } } if (!empty($Cancel)){ $processed_form = "no"; $up_qr = mysql_query("delete from users where user_loginid = '$confirm_email' limit 1"); $up_qrs = mysql_affected_rows(); if ($up_qrs){ $Cancel=""; header("location:register.html"); } } if (isset($Submit)){ if(!get_magic_quotes_gpc()){ $email=str_replace("$","\$",addslashes($_REQUEST["email"])); $password=str_replace("$","\$",addslashes($_REQUEST["password"])); $full_name=str_replace("$","\$",addslashes($_REQUEST["full_name"])); $address=str_replace("$","\$",addslashes($_REQUEST["address"])); $city=str_replace("$","\$",addslashes($_REQUEST["city"])); $pincode=str_replace("$","\$",addslashes($_REQUEST["pincode"])); $country=str_replace("$","\$",addslashes($_REQUEST["country"])); $telephone=str_replace("$","\$",addslashes($_REQUEST["telephone"])); $mobile=str_replace("$","\$",addslashes($_REQUEST["mobile"])); $bfull_name=str_replace("$","\$",addslashes($_REQUEST["bfull_name"])); $baddress=str_replace("$","\$",addslashes($_REQUEST["baddress"])); $bcity=str_replace("$","\$",addslashes($_REQUEST["bcity"])); $bpincode=str_replace("$","\$",addslashes($_REQUEST["bpincode"])); $bcountry=str_replace("$","\$",addslashes($_REQUEST["bcountry"])); $btelephone=str_replace("$","\$",addslashes($_REQUEST["btelephone"])); $bmobile=str_replace("$","\$",addslashes($_REQUEST["bmobile"])); $verify_box=str_replace("$","\$",addslashes($_REQUEST["verify_box"])); } else { $email=str_replace("$","\$",$_REQUEST["email"]); $password=str_replace("$","\$",$_REQUEST["password"]); $full_name=str_replace("$","\$",$_REQUEST["full_name"]); $address=str_replace("$","\$",$_REQUEST["address"]); $city=str_replace("$","\$",$_REQUEST["city"]); $pincode=str_replace("$","\$",$_REQUEST["pincode"]); $country=str_replace("$","\$",$_REQUEST["country"]); $telephone=str_replace("$","\$",$_REQUEST["telephone"]); $mobile=str_replace("$","\$",$_REQUEST["mobile"]); $bfull_name=str_replace("$","\$",$_REQUEST["bfull_name"]); $baddress=str_replace("$","\$",$_REQUEST["baddress"]); $bcity=str_replace("$","\$",$_REQUEST["bcity"]); $bpincode=str_replace("$","\$",$_REQUEST["bpincode"]); $bcountry=str_replace("$","\$",$_REQUEST["bcountry"]); $btelephone=str_replace("$","\$",$_REQUEST["btelephone"]); $bmobile=str_replace("$","\$",$_REQUEST["bmobile"]); $verify_box=str_replace("$","\$",$_REQUEST["verify_box"]); } $emailp="^[a-zA-Z0-9_.-]*@[a-z0-9_.-]+\.[a-z]{2,4}$"; if (!ereg($emailp, $email)) { $error[] = "Please enter a valid email ID."; } if (strlen($password) <= 5) { $error[] = "Please enter a 6 character password."; } if (strlen($full_name) <= 2) { $error[] = "Full name should have at least 3 characters."; } if ($address== "") { $error[] = "Please do not leave address field blank!"; } if (strlen($city) <= 1) { $error[] = "City should have at least 2 characters."; } if (strlen($pincode) <= 3) { $error[] = "Pincode should have at least 4 characters."; } if (strlen($country) <= 2) { $error[] = "Country name should have at least 3 characters."; } if ($telephone== "") { $error[] = "Please enter your telephone number."; } if ($issame != "same"){ if (strlen($bfull_name) <= 2) { $error[] = "Billing: Full name should have at least 3 characters."; } if ($baddress== "") { $error[] = "Billing: Please do not leave address field blank!"; } if (strlen($bcity) <= 1) { $error[] = "Billing: City should have at least 2 characters."; } if (strlen($bpincode) <= 3) { $error[] = "Billing: Pincode should have at least 4 characters."; } if (strlen($bcountry) <= 2) { $error[] = "Billing: Country name should have at least 3 characters."; } if ($btelephone== "") { $error[] = "Billing: Please enter your telephone number."; } } if(is_array($error)){ $prod_msg .= "
"; $numberv = 1; $prod_msg .= "Errors
"; while (list($keyxs,$valuex) = each($error)){ $prod_msg .= "
$numberv. $valuex
"; $numberv++; } $prod_msg .= "
"; } else { if(md5($verify_box).'a4xn' == $_COOKIE['tntcon']){ setcookie('tntcon',''); $cd_date = date("YmdHis",time()); //$cd_datex = date("Y-m-d H:i:s",time()); $post_day_dategx = new DateTime($cd_date); $post_day_dategx->modify("+10 year"); $post_day_dxt = $post_day_dategx->format("Y-m-d H:i:s"); $ip = $_SERVER['REMOTE_ADDR']; $autopass_md = md5($password); // know if already exists $sele_q = mysql_query("select id from users where user_loginid = '$email' limit 1"); $sele_num = mysql_num_rows($sele_q); if ($sele_num == 0){ $ins1 = mysql_query("insert into users (user_name, user_loginid, user_pass, user_pass_txt, user_nickname,address, city, country, pincode, telephone, mobile, full_name_billing, address_billing, city_billing, pincode_billing, country_billing, telephone_billing, mobile_billing, ip_address, user_email, date, expire_date, status) values ('$full_name', '$email', '$autopass_md', '$password', '$full_name', '$address', '$city', '$country', '$pincode', '$telephone', '$mobile', '$bfull_name', '$baddress', '$bcity', '$bpincode', '$bcountry', '$btelephone', '$bmobile', '$ip', '$email', '$cd_date', '$post_day_dxt', 'N')"); $ins2 = mysql_affected_rows(); if ($issame == "same"){ $modi_q = mysql_query("update users set full_name_billing = '$full_name', address_billing = '$address', city_billing = '$city', pincode_billing = '$pincode', country_billing = '$country', telephone_billing = '$telephone', mobile_billing = '$mobile' where user_loginid = '$email' limit 1"); $modi_qaff = mysql_affected_rows(); } if ($ins2){ $processed_form = "yes"; } } else { $prod_msg .= "
"; $prod_msg .= "User already exists. Please choose another."; $prod_msg .= "
"; $processed_form = "no"; } } else { $prod_msg .= "
"; $prod_msg .= "Wrong verification code."; $prod_msg .= "
"; $processed_form = "no"; } } } ?>

* Marked fields are mandatory
Please verify your registration details and confirm if true or cancel if desired.
Login details
Whatever you have chosen!

Personal details
Billing details

Billing details
   
Login details

Personal details
Billing address is same as above

Billing details

No to Spam
   verification image, type it in the box