note 19682 deleted from function.crypt by aidan

From: Date: Mon, 05 Jul 2004 10:24:56 +0000
Subject: note 19682 deleted from function.crypt by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72571@lists.php.net to get a copy of this message
Note Submitter: icecube@fr.fm ---- To generate a .htaccess-based authentication with DES, you have to use the first two characters of your password as salt. $pass = "something"; $ht_pass = crypt($pass,substr($pass,0,2));

« previous php.notes (#72571) next »