RE: [PHP-WIN] .htaccess protection / php
| From: | Christian Leberfinger | Date: | Fri, 30 Aug 2002 05:20:01 +0000 |
| Subject: | RE: [PHP-WIN] .htaccess protection / php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15595@lists.php.net to get a copy of this message | ||
> i am using the php " md5( ) " function to encrypt
> the password. so, when i want to access to the new
> user "index.php" the password pop-up window appears
> and i type in the username and password, but i can´t
> access the user file.
Hi, I also wrote a script creating .htaccess-files
and I think I might know this problem.
What kind of server do you use ?
( Especially the operation system matters - because
windows uses another method of crypting data. )
If you want to copy something from my script -
here's the URL:
http://www.krizleebear.de/phpaccess/dynamisch/
[ by the way: I used the crypt()-method and
implement a special-mechanism for windows by
using Apache's htpasswd.exe - that's really the
only possible way I found ... ]
Chris