Password help plz
| From: | Shelly Wilds | Date: | Sat, 19 Jan 2002 21:13:33 +0000 |
| Subject: | Password help plz | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16002@lists.php.net to get a copy of this message | ||
hi guys,
i'm new to php/mysql :), so plz bare with me a bit.
i'm trying to figure out how to retrieve password un crypted to browser.
/********************************************************/
$result = mysql_query("SELECT * FROM auth WHERE username='$valid_user'",$db);
$myrow = mysql_fetch_array($result);
?>
<form method="post" action="<?php echo $PHP_SELF?>">
<input type="hidden" name="id" value="<?php echo $myrow["id"]?>">
Username:<input type="Text" name="username" value="<?php echo $myrow["username"]?>"><br>
Userpass:<input type="Text" name="userpass" value="<?php echo $myrow["userpass"]?>"><br>
Usermail:<input type="Text" name="usermail" value="<?php echo $myrow["usermail"]?>"><br>
Userpriv:<input type="Text" name="userpriv" value="<?php echo $myrow["userpriv"]?>"><br>
<input type="Submit" name="update" value="Update information"></form>
/********************************************************/
i've tried this and no result...
Userpass:<input type="Text" name="userpass" value="<?php echo $myrow["userpass(password('userpass'))"]?>"><br>
could someone plz help me out with this... txShelly _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com