View Full Version : htaccess and PHP
05-02-2004, 02:03 PM
I'm kind of a begginer here,so,my question:
Can I use a .htaccess file with PHP for authentification? (I mean,can I use PHP to manipulate the .htaccess file,or the passwd file ?)
05-16-2004, 07:10 AM
what do you "manipulate"? do you mean add users, and remove them, change passwords, and such. or have them login via PHP. the former is possible i think.
the mod should move this to the PHP forum, in my opinion.
05-16-2004, 03:47 PM
[QUOTE=dswimboy]what do you "manipulate"? do you mean add users, and remove them, change passwords, and such. [QUOTE]
That's what I mean.
So,is it not possible with PHP ...?
05-16-2004, 05:22 PM
sure it is. former and latter. never mind. here is a link to a script that claims to manage htaccess and htpasswd fileshttp://www.hotscripts.com/Detailed/12030.html. if it doesn't, ask how to do it in the PHP forum.
05-16-2004, 06:31 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.