I am looking for a web based form to take user's details and store into a online db.
The process is that users will enter a unique code supplied offline first. This code will be stored in a mySQL DB table. When validated, the db will appended as 'used' and will not permit the user, or future users from using it again.
I would like a captcha type implementation at this stage to prevent robots. (usual refresh)
Email address must be entered twice, password comparison performed, storage of password should be hashed, and a validation code sent to the user by email to the email address entered.
Users will be able to choose 3 different products, and pay form them using paypal. ( ican supply paypal codes)
The selected products should be stored in a basket db table.
Payment will then be taken using paypal.
Upon successful payment, when they return from the paypal, a check on what was bought and what was paid for based on return from paypal and basket db table should be made.
If successful the user will then have a unique LAMP username and new password created on the LAMP box and be put into a security group called SECGroup1 on the LAMP box.
This username and password will have to be emailed to them using SMTP mail on the server. I will supply message text.
The html should be in basic form in a table no design I am only looking for the technical implementation - I'll design later. Client side code should be commented. PHP code should be secure and robust. if possible I would like a log of every new user's actions written to a file on the server.