PDA

View Full Version : Creating a Log In Using Password Protected Directories


Sloth_Boy
11-09-2005, 01:14 PM
Hi all,

Do use all know password protected directories are, the directories that you set and apply users to through c-panel (if you have used c-panel).

Anyway, i want to use that way of password protecting areas of my site, but i want users to be able to edit there password. Is there a way that php can talk to the server to tell (it may be apache) to change the password to what the user specifies.

I hope use know what i talking about, here's a screenshot of what i mean

http://files.siliconjunkie.com.au/files/password.jpg

Or is this a crap way to do it (i dont know too much php)

maghiel
11-09-2005, 01:20 PM
you are using a .htaccess fil now i guess?
if you want people to change their password, you'd rather
use http authentication which is build in php.
info:
http://nl3.php.net/features%20http_auth

Sloth_Boy
11-09-2005, 09:23 PM
ok, ill look into that