05-02-2004, 03: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, 08: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, 04: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, 06: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.