PDA

View Full Version : encrypt(), crypt(), and password()??


loonatik
05-09-2003, 11:17 PM
whats the diff?

also,
i use a mysql db to store usernames and passwords and htaccess to protect a members area folder. when a user tries to change his password, the changes are made to the mysql db. is it possible to open the htaccess file also (which is a plaintext file and it's named .htpasswds...dont know if that makes a diff) and change the password there?

because the encryption in the htaccess file is diff from the mysql db and i read at the php website that username/password are diff on sql and linux/unix server (i'm on unix)...something like that. quite confusing.

yes or no would be fine. just need to know so i can go ahead and attempt to make it work. thanks!!