note 24650 added to function.crypt

From: Date: Sat, 24 Aug 2002 16:04:59 +0000
Subject: note 24650 added to function.crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-35534@lists.php.net to get a copy of this message
about example: oficecube@fr.fm 07-Mar-2002 10:53 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)); this is realy necessary I can't did less this comment -- http://www.php.net/manual/en/function.crypt.php http://master.php.net/manage/user-notes.php?action=edit+24650 http://master.php.net/manage/user-notes.php?action=delete+24650 http://master.php.net/manage/user-notes.php?action=reject+24650

« previous php.notes (#35534) next »