note 15028 added to function.crypt.php

From: Date: Fri, 24 Aug 2001 21:32:54 +0000
Subject: note 15028 added to function.crypt.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17087@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. http://www.php.net/manual/en/function.crypt.php

« previous php.notes (#17087) next »