I need a script to create expiring download links so I can email to customers after purchase and they can download thier products. This script should also send the user the email after I click the create button.
- Links need to mask the true paths of the files.
- Links need to expire 3 days after the first download of the file.
- The "Files" directory needs to be protected, No access via Browser at All.
- Should be a login system to access the script (Username/Password)
- File Box in script should be a dropdown box listing all the files in the "Files" directory.
- The Email should resemble below
- Email should be sent when you press create link and display the created link below.
Should also list below all current links and when they expire and an option to delete the links.
I've attached a "mock" admin panel what this should look like on the backend.
SAMPLE Email:
FROM: Biron Inc (webmaster@[login to view URL])
To: [USEREMAIL]
SUBJECT:
Your Download Is Now Available
MESSAGE:
Your Download [FILENAME] is now available for download at Biron Inc.
Click this link to download your file:
[DOWNLOADLINK]
Thank you for shopping at Biron Inc. If you have any questions or concerns feel free to contact us at: webmaster@[login to view URL]
## Deliverables
I've attached a "mock" admin panel what this should look like on the backend.
Should also list below all current links and when they expire and an option to delete the links.