md5 encrypt problem

From: Date: Tue, 11 Mar 2003 07:26:00 +0000
Subject: md5 encrypt problem
Groups: php.general 
Request: Send a blank email to php-general+get-139081@lists.php.net to get a copy of this message
Hey all. Having a wee bit o' trouble with a simple md5 script: for ($x=1 ; $x <62 ; $x++) { $mypass = "sports" . $x; $mypass = md5($mypass); dbConnect("UPDATE user_login SET password = '$mypass' WHERE school_id = $x"); } For some reason, when I attempt to login with my md5'd user supplied password I get no match. Bizarre, haven't had this problem before........... Any help always appreciated --Noah --

« previous php.general (#139081) next »