Posted by Greg Scharlemann on 11/11/05 18:01
Peter van Schie wrote:
> Greg Scharlemann wrote:
> >
> > I always get the same encoded string: 8f404d5399b6eb816fe579381a0e2e6c
>
> Looks like an md5 hash.
>
> > First, does PHP automatically encrypt the password type fields
>
> No.
>
Could this be a setting on the server perhaps?
Here's a simple script that I tried and it still encrypts the password
everytime to the same string: you can try it here:
http://devel.dailyunrest.com/test.php
--------------------------------------------------------
<?php
$register = $_REQUEST['Register'];
$valid = false;
if($register == "Register") {
$password = $_REQUEST['password'];
print $password;
}
?>
<html>
<body>
<form action="test.php" method="post">
<table width="50%" cellspacing="1" cellpadding="1" border="0">
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" size="35"></td>
</tr>
<tr>
<td><b>Confirm Password:</b></td>
<td><input type="password" name="confirmPassword" size="35"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Register" value="Register" /></td>
</table>
</form>
</body>
</html>
-----------------------------------------------------
Navigation:
[Reply to this message]
|