Hi,
I have a folder, a .htaccess file that points to a "username:password" file and a "group: user" file.
I have made a PHP scripet that does:
1) trought a form reads username and plain passoword form a web page.
2) checks the user file to already existing users
3) if the user is not present encrypt the password using "$cryptpwd = crypt ($passowrd)"
4) Then it creates a string in the format:
user:encrypted password and places this data on a new line on the users file
5) adds the user to the group file
All this works and is syntatically correct.
The problem is that passwords are not accepted and I have no idea of why this is happening.
Someone could be usefull indications about ?
Thank you
Fabio