note 70276 deleted from function.crypt by nlopess

From: Date: Tue, 28 Nov 2006 21:53:40 +0000
Subject: note 70276 deleted from function.crypt by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-120143@lists.php.net to get a copy of this message
Note Submitter: Michael Stapelberg ---- In order to use crypt() for generating htpasswd-passwords I had to use it with base64_encode($password) as second paramter: <?php $hash = crypt($password, base64_encode($password)); ?>

« previous php.notes (#120143) next »