note 29734 added to function.crypt

From: Date: Sun, 23 Feb 2003 16:40:36 +0000
Subject: note 29734 added to function.crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-44392@lists.php.net to get a copy of this message
The previous example is very useful. Just a little note: instead of $salt = substr("$row[Value]", 0, 12); you can use this $salt = substr("$row[Value]", 0, CRYPT_SALT_LENGTH); but the choice is still yours. :) -- http://www.php.net/manual/en/function.crypt.php http://master.php.net/manage/user-notes.php?action=edit+29734 http://master.php.net/manage/user-notes.php?action=delete+29734 http://master.php.net/manage/user-notes.php?action=reject+29734

« previous php.notes (#44392) next »