From 92712820bce7ee1654727bdcd115765300bf68c1 Mon Sep 17 00:00:00 2001 From: Aidan Lister Date: Mon, 5 Jul 2004 14:46:20 +0000 Subject: [PATCH] Added second example showing htpasswd generation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162679 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/crypt.xml | 30 ++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/reference/strings/functions/crypt.xml b/reference/strings/functions/crypt.xml index 95edd961f8..7692b8f1cf 100644 --- a/reference/strings/functions/crypt.xml +++ b/reference/strings/functions/crypt.xml @@ -1,5 +1,5 @@ - + @@ -84,22 +84,38 @@ There is no decrypt function, since crypt uses a one-way algorithm. - + <function>crypt</function> examples +]]> + + + + Using <function>crypt</function> with htpasswd + To create a password for use with an apache htpasswd file, you'll need to + use the first two letters of the password as the salt. + + ]]>