...

View Full Version : htaccess and PHP



Code Wizard
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 ?)

dswimboy
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.

Code Wizard
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 ...?

dswimboy
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.

Code Wizard
05-16-2004, 06:31 PM
K,got it,thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum