php-db | 2001072
Date: 07/24/01
- Next message: Koutsogiannopoulos Karolos: "[PHP-DB] Question regarding php and mysql with binary data..."
- Previous message: Matthew Cothier: "[PHP-DB] HELP!! - Search"
- Next in thread: JD Daniels: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- Reply: JD Daniels: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- Maybe reply: Beau Lebens: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I use a Linux platform, Apache, and PHP4.
I use "htaccess" method in order to have restricted accesses, and I
handle my users via a PHP interface.
- when I want to create a new user, I generate a string such as
"username:cryptedpassword", and I insert it at the end of my ".htpasswd" file.
- when I want to modify the password of an existing user, how to do that ?
--> 1/ delete the line corresponding to this user, and then insert the new
"username:cryptedpassword" line ? in this case, can you tell me which funtions
to use (find a line in an ascii file, delete it, and insert the new one) ?
--> 2/ run a command line such as "htpasswd ..." (without "-c" argument) ? in
this case, can you tell me how to run a unix command line from a PHP script ?
Thanks a lot in advance.
Regards,
-- Samuel Torton NCSLab.com-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Koutsogiannopoulos Karolos: "[PHP-DB] Question regarding php and mysql with binary data..."
- Previous message: Matthew Cothier: "[PHP-DB] HELP!! - Search"
- Next in thread: JD Daniels: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- Reply: JD Daniels: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- Maybe reply: Beau Lebens: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

