note 57010 deleted from function.crypt by nlopess

From: Date: Wed, 21 Sep 2005 17:38:54 +0000
Subject: note 57010 deleted from function.crypt by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95547@lists.php.net to get a copy of this message
Note Submitter: kartikborikar at yahoo dot com Reason: useless ---- Crypt function can be used to generate encrypted password used for HTACCESS authentication. $random_salt=rand(10000,1000000); $crypted_password=crypt($Password, $random_salt); Each time we run this script we get a different HTACCESS password. <? echo $username; ?>:<? echo $crypted_password;?> The above text gives the text to be included in the password file of HTACCESS. You can see this working at http://support.kkeim.com/utilities/htaccess/

« previous php.notes (#95547) next »