Codice PHP:
Username: '.$_REQUEST['email'].'
Password: '.$password;
//mail member
@mail($_REQUEST['email'],'Member Registration',$message,'From:'.$settings['email']);
$mailmessage = '<div align=center class="pageSubTitle">Username and Password sent to '.$_REQUEST['email'].'</div>';
@mail($settings['email'],'How did you hear about us',$_REQUEST['hear_about'],'From:'.$settings['email']);
$insertSQL = sprintf("INSERT INTO members (name, address, city, `state`, zip, active, email, password, phone) VALUES (%s, %s, %s, %s, %s, %s, %s, '".md5($password)."', %s)",
GetSQLValueString($_POST['name'], "text"),
GetSQLValueString($_POST['address'], "text"),
GetSQLValueString($_POST['city'], "text"),
GetSQLValueString($_POST['state'], "text"),
GetSQLValueString($_POST['zip'], "text"),
GetSQLValueString($_POST['active'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($password, "text"),
mod:
Codice PHP:
VALUES (%s, %s, %s, %s, %s, %s, %s, '".md5($password)."', %s)"
così va bene?