The Best Value Bulk Selling Company Formations Website in Britain 0845 1300 060
 
   
 
Creating account
user_id is not numeric (0035)

"); exit; } } function data_submit($data){ global $u; //array of invoice address $today = date("Y-m-d"); $user_type = "1"; $_password = md5($data['14']); if (getenv('HTTP_X_FORWARDED_FOR')) { $ip = getenv('HTTP_X_FORWARDED_FOR'); } else { $ip = getenv('REMOTE_ADDR'); } if(sql("INSERT INTO users VALUES('', '".addslashes($data[0])."', '$_password', '$data[0]', '$today', '$user_type', '', '".addslashes($ip)."')")){ $_user_next_val = mysql_insert_id(); //save all user details to correspondence, invoices, addressbook, etc. - for default save_details($data,$_user_next_val); //invoice address if($u['invoice_details1']=='on') { if($u[0]=='' || $u[3]==''|| $u[12]==''){ blackbox("ATTEMPT TO SAVE INVOICE DETAILS WITHOUT REQUIRED FIELDS. BUT CONTINUE: $data[0]"); } BT(); if(sql("INSERT INTO user_invoice_address VALUES('', '$user_id', '".addslashes($u[0])."', '".addslashes($u[1])."', '".addslashes($u[2])."', '".addslashes($u[12])."', '".addslashes($u[3])."', '".addslashes($u[4])."', '".addslashes($u[5])."', '".addslashes($u[6])."', '".addslashes($u[8])."', '".addslashes($u[7])."', '".addslashes($u[9])."', '".addslashes($u[10])."', '".addslashes($u[11])."')")) { CT(); session_register("invoice_address"); $_SESSION['invoice_address'] = mysql_insert_id(); } else{ blackbox("SQL:CANT INSERT: INSERT INTO user_invoice_address"); RT(); ob_clean(); die('Service temporary unavailable...'); } } else { //put default invoice details /same as address/ if($data[3]==''|| $data[12]==''){ blackbox("ATTEMPT TO SAVE INVOICE DETAILS WITHOUT REQUIRED FIELDS. BUT CONTINUE.[default invoice details]"); } BT(); if(sql("INSERT INTO user_invoice_address VALUES('', '$user_id', '".addslashes($data[0])."', '".addslashes($data[1])."', '".addslashes($data[2])."', '".addslashes($data[12])."', '".addslashes($data[3])."', '".addslashes($data[4])."', '".addslashes($data[5])."', '".addslashes($data[6])."', '".addslashes($data[8])."', '".addslashes($data[7])."', '".addslashes($data[9])."', '".addslashes($data[10])."', '".addslashes($data[11])."')")) { CT(); session_register("invoice_address"); $_SESSION['invoice_address'] = mysql_insert_id(); } else{ blackbox("SQL:CANT INSERT: INSERT INTO user_invoice_address [default values]"); RT(); } } try_login($data); } else { blackbox("login problems".__FILE__.__LINE__); } } function alertForm($selected, $i, $type){ Print""; } function check_form($data) { $max = count($data); if(strlen($data[13])<5) { alertForm($data, $i, "2"); return; } if(!eregi("^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$",$data[0])) { alertForm($data, $i, "1"); return; } for ($i = 1; $i <= 4; $i++) { if($data[$i]=='') { alertForm($data, $i, ""); return; } } for ($i = 7; $i <12; $i++) { if($data[$i]=='') { alertForm($data, $i, ""); return; } } if($data[13]!=$data[14]) { alertForm($data[$i], $i, "0"); return; } //check for existing user if (check_user_exists($data[0]) == 0){ data_submit($data); } else Print "
Sorry, but email address $data[0] is already in our database. Please specify other email address. Alternatively you can login as existing customer [ here » ]
"; //else msg("Sorry, but email address $data[0] is already in our database. Please specify other email address or login as existing customer here",""); } if($_POST['submit_btn5']!='') check_form($t); ?>
 

"; if($type == 1) msg("Your email address is incorrect.",""); else { if($type =='') msg("Please fill all required gaps",""); else if($type == 0) msg("Passwords are different",""); else if($type == 2) msg("Your password is to short.",""); } Print"
Address Lookup: [ Lookup Address ]
Your Email Address:
How did you hear about us:  
*First Name:
 
*Surname:
 
*Address Line 1:
 
Address Line 2:
 
Address Line 3:
 
*City:
 
*Country:
 
*Postal Code:
 
*Telephone Number:
 
*Mobile Number:
 
Fax:
 
     
Please enter a password for your personal account:  
Re-enter your password:  
Invoice details: as given above other  
     



 
   
   
   
     
 

SCF Legal & Corporate Management Services Limited

90-100 Sydney Street, Chelsea, London SW3 6NJ

T: 0845-1300 060 F: 020 7795 0016 E: enquiries@budgetcompanyformatins.co.uk

FREE DOWNLOADS AREA