** Same project again - last programmer vanished**
My members area is protected by a combination of .htapsswd/.htaccess files. All usernames and passwords are of course saved in the .htapsswd file.
I need a script that, when called, will generate username and password and store it in a .htpasswd file. I need to be able to set the lifetime of username and password. Once username/password has expired, script must remove them from the .htpasswd file. In addition to generating, storing and removing usernames and passwords, script should also echo username and password so it can be retrieved by my other script (this last feature will be explained in detail before you start the work).
Here is a simple explanation of exactly what the script should do:
- Script is called
- Script generates username and password
- Username and password are echoed (explanation will be provided)
- Username and password are saved in .htpasswd file
- Username and password are automatically removed once their lifetime has expired
Please note I have had some bad experience with programmers here on GAF so I will NOT pay ANYTHING in advance. Please do not contact me if you want anything in advance.