For a paying membership site, i would like a 8 characters alphanumeric username and password to be randomly generated on the "thank you" page, then the password would be encrypted and both the username and the crypted password stored as a new line in htpasswd. (to allow my new customer a valid login) How can i achieve that? (the random generation, auto-encrypting and data store to htpasswd) Please note im a complete dummy in coding, so if you can help me, please explain very clearly.