note 15028 deleted from function.crypt by jimw
| From: | jimw@php.net | Date: | Sat, 03 Nov 2001 18:20:46 +0000 |
| Subject: | note 15028 deleted from function.crypt by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20377@lists.php.net to get a copy of this message | ||
I tryed so many times to crypt a password, using the examples found in here, and I found out an
easy, very easy way to do it, with out any complications. It uses only 2 lines.
<?PHP
$pw = crypt($encrip, $username);
echo "Crypted password: $pw";
?>
You can use this to crypt passwords using MySQL, I made this script cause I was installing the
SENDMAIL + MYSQL PATCH, which is way easier.
Thank you,
Rafael Azevedo
PS: If you need any assistence, please, email me.