try putting <div><br></div><div> echo($_POST['userpass']);</div><div><br></div><div>somewhere temporarily, just to make sure the password you entered is making it to your php script.</div><div><br></div><div><div class="gmail_quote">
On 24 November 2010 06:30, Margaret Iaquinto <span dir="ltr"><<a href="mailto:Margaret.Iaquinto@stleonards.vic.edu.au">Margaret.Iaquinto@stleonards.vic.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div 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><a href="http://www.stleonards.vic.edu.au" target="_blank">www.stleonards.vic.edu.au</a><br> <br> <br> <br> <br></div><br>>>> Greyruin <<a href="mailto:greyruin@gdurkin.com" target="_blank">greyruin@gdurkin.com</a>> 11/23/10 11:34 PM >>><div>
<div></div><div class="h5"><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 <a href="http://miraclesalad.com" target="_blank">miraclesalad.com</a>.)<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>
<a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a> - FAQ, resources, subscribe, unsubscribe<br>PHP Mailing List kindly supported by<br><a href="http://www.vcaa.vic.edu.au" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc<br></div></div></div>
<br>_______________________________________________<br>
<a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a> - FAQ, resources, subscribe, unsubscribe<br>
PHP Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc<br></blockquote></div><br></div>