I need a PHP/mySQL script that will: 1. Allow the user to login securely using their email address and password. (I will purchase a security certificate). 2. A "forgotten password" facility where they can enter their email address and it will email them their password. 3. Upon successful login it will list the software that they have purchased. It will also allow them to download it - the files should be stored in a non-public facing directory, to prevent users from linking directly to the files. 4. The user should be restricted to no more than 5 downloads of any one title in a month. I should have an admin area where I can reset it. Database details: Users: UserID,Email,Password(encrypted) Software: SoftwareID,Title,CurrentVersion,Price Purchases: ID,UserID,SoftwareID,Date,Version Ideally all database changes should be written to a text file so that I can periodically download them and apply to my local copy just incase the server goes down.
## Deliverables
1) Complete and fully-functional working scripts. 2) Complete ownership and distribution copyrights to all work purchased.
## Platform
PHP/mySQL/Linux