This commit is contained in:
root 2006-12-19 23:22:58 +00:00
parent 7b90f92226
commit f61ae24e25

View file

@ -46,9 +46,9 @@
if($id == 1) if($id == 1)
{ {
$email = mysql_escape_string($_REQUEST["email"]); $email = mysql_escape_string(trim($_REQUEST["email"]));
$password = mysql_escape_string($_REQUEST["pword"]); $password = mysql_escape_string(stripslashes(trim($_REQUEST["pword"])));
$URL = mysql_escape_string($_REQUEST["notaryURL"]); $URL = mysql_escape_string(trim($_REQUEST["notaryURL"]));
$CN = mysql_escape_string($_SESSION['_config']['CN']); $CN = mysql_escape_string($_SESSION['_config']['CN']);
$memid = mysql_escape_string($_SESSION['_config']['uid']); $memid = mysql_escape_string($_SESSION['_config']['uid']);
$user = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='$memid'")); $user = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='$memid'"));