From: relpats_eht <rel...@us...> - 2005-07-16 17:33:20
|
Update of /cvsroot/bboard/birdboard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1173 Modified Files: member.php Log Message: added prepValues to register Index: member.php =================================================================== RCS file: /cvsroot/bboard/birdboard/member.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** member.php 6 Jul 2005 00:25:57 -0000 1.23 --- member.php 16 Jul 2005 17:33:09 -0000 1.24 *************** *** 84,90 **** case 'register'://register action $offlimits = explode(' ', stripslashes($config['badcharpool'])); ! $username = str_replace($offlimits, '', $_POST['username']); ! $email1 = $_POST['email1']; ! $email2 = $_POST['email2']; if(($username == "") || ($email1 == "") || ($email2 == "") || ($email1 != $email2)){ --- 84,90 ---- case 'register'://register action $offlimits = explode(' ', stripslashes($config['badcharpool'])); ! $username = str_replace($offlimits, '', prepValue($_POST['username'])); ! $email1 = prepValue($_POST['email1']); ! $email2 = prepValue($_POST['email2']); if(($username == "") || ($email1 == "") || ($email2 == "") || ($email1 != $email2)){ |