password encryption
| From: | Han | Date: | Thu, 18 Nov 2004 16:28:41 +0000 |
| Subject: | password encryption | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37336@lists.php.net to get a copy of this message | ||
Hello,
I'm having a real problem and wondering if anyone can help.
I need to set up htaccess ans htpasswd files to authenticate users on my system.
I need to do it with PHP, but can't find a way of encrypting the password so it works.
I've used an online encrypter for testing the system, and I've got the .htaccess and .htpasswd files correct, but I need to programmatically encrypt the password in my script then write it to the 2 files.
Han.