<html><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-15"><META name="Author" content="Novell GroupWise WebAccess"></head><body style='font-family: Tahoma, sans-serif; font-size: 13px; '>Not true. In the form, I typed "dogbite" as my password. This was used as $userpass. Later, I used "alice in wonderland' as my password. $userpass carried that value to the md5 function. Should it not have created a different output? <br><br>Or is it using the string $userpass instead? Is that what you mean?<br><br>OK. Will try some different stuff.<br><br><br/><div style='clear: both;'>Margaret Iaquinto<br>Information Technology<br> <br>St Leonard's College<br>Brighton Campus<br>t (+61 3) 9909 9300<br> <br>www.stleonards.vic.edu.au<br> <br> <br> <br> <br></div><br/>>>> Greyruin <greyruin@gdurkin.com> 11/23/10 11:34 PM >>><br>Check your html form code for a typo :<br><br>The md5 hash of "userpass" is 63e780c3f321d13109c71bf81805476e<br><br>(I just tried it out on a whim at miraclesalad.com.)<br><br>That's why you are getting the same hash every time - your variable <br>always has the value "userpass" instead of the value that is typed into <br>the text input on your form.<br><br>Greg<br>_______________________________________________<br>http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe<br>PHP Mailing List kindly supported by<br>http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority and<br>http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc<br></body></html>