Re: Apache?
| From: | php3 at developersdesk dot com | Date: | Sat, 09 Dec 2000 12:51:19 +0000 |
| Subject: | Re: Apache? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29474@lists.php.net to get a copy of this message | ||
Addressed to: "Andrius Lokotash" <andrius@eol.ee>
php-general@lists.php.net
** Reply to note from "Andrius Lokotash" <andrius@eol.ee> Sat, 9 Dec 2000 12:58:04
+0200
>
> Hi.
>
> I'm generating htpassword file from PHP, in default i like to use MD5
> for password encryption but apache seems to not undestand this, can i
> somhow define in apache that i would like MD5 passwords? Or is there
> another method in PHP to encrypt passwords so Apache will undestand
> it? Another solution is to shell out to "htpassword" command, but it
> is quite clumsy.
Try crypt().
That is the format Apache understands.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com