Re: data encryption with php
| From: | bill | Date: | Thu, 04 Jan 2001 16:33:27 +0000 |
| Subject: | Re: data encryption with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32658@lists.php.net to get a copy of this message | ||
You can use crypt.
// $yourpassword is user's password
// $htpass is string to put in .htpasswd or .htaccess
$htpass=crypt($yourpassword);
kind regards,
bill
James Mclean wrote:
> list,
> is thier a function to encrypt data, so that a .htaccess file will understand
> the encryption?
> i dont have access to htpasswd on the server, so what to do it in php...
>
> thanx
> james mclean
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net