note 28493 added to function.crypt
| From: | php-general at lists dot php dot net | Date: | Tue, 14 Jan 2003 21:39:39 +0000 |
| Subject: | note 28493 added to function.crypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42144@lists.php.net to get a copy of this message | ||
For generating a .htacess password you can use any salt you like. For checking the password against
the stored one, apache takes the first two characters of the encrypted/stored password as salt, and
so can you ;)
--
http://www.php.net/manual/en/function.crypt.php
http://master.php.net/manage/user-notes.php?action=edit+28493
http://master.php.net/manage/user-notes.php?action=delete+28493
http://master.php.net/manage/user-notes.php?action=reject+28493