> 
> For password protection you will have some statements in the
.htaccess file
> which set the name of the realm, type of authentication (usually
"basic"), and
> the location of the file in the filesystem with the usernames and
encrypted
> passwords.

Right, I have that.  It is outside of the public directory with a . in
front of the name; the only way I can see it is using ls -a
> 
> When getting PHP to edit that file (not .htaccess but the file with the
> passwords) you can append a line with a username:encryptedpassword
where the
> encryptedpassword comes from the md5() function in PHP.  The Apache
module,
> mod_auth will accept either crypt or md5 hashes.

md5 will do it?  I need it to encrypt the password in the .htpasswd
file (append to it).

I've got the appending going, but not the proper encryption because
the users I've added cannot get in.

Marian
> 
> James
> _____
> 
> James D. Keeline
> http://www.Keeline.com  http://www.Keeline.com/articles
> http://Stratemeyer.org  http://www.Keeline.com/TSCollection
> 
> http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
> Summer Semester Begins Jun 20 -- New Classes Start Every Few Weeks.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hnrihcp/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1124843226/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to