Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $_POST['email'] = mysql_real_escape_string($_POST['email']);
- $_POST['username'] = mysql_real_escape_string($_POST['username']);
- // Escape the input data
- $ltc_address = $btclient->query('getnewaddress', 'store');
- mysql_query("INSERT INTO members(usr,pass,email,LTC_addy,LTC_Balance,regIP,dt)
- VALUES('" . $_POST['username'] . "','" . md5($pass) . "','" . $_POST['email'] . "','" . $ltc_address . "','0.00','" . $_SERVER['REMOTE_ADDR'] . "',NOW()
- )");
- if (mysql_affected_rows($link) == 1) {
- send_mail('admin@newstore.net', $_POST['email'],
- 'New store:: Registration System - Your New Password', 'Your password is: ' . $pass);
Add Comment
Please, Sign In to add comment