Scripts for creating and serving a time-limited download link to a file
$30-250 USD
En curso
Publicado hace más de 11 años
$30-250 USD
Pagado a la entrega
We need you to create a simple solution for sending a temporary download link to a specified email and providing a download script that will either serve the file for downloading (if the temporary link is still active) or will not (if it is expired). The point of the solution is to provide time-limited download links.
What we need you to provide, specifically:
1. A simple form with one field (email) and some mechanism that prevents bots from making mess (CAPTCHA, session variable etc.)
The form must also check the correct format of email before passing it further.
2. Upon submitting form, the script will take the email from the form and query a specific table in MySQL database and check that this email is already in the table. (This is a subscription database table that already exists and we wish to allow download only for members of the mailing list)
If the email is not in the table, a message is displayed, program finished. If it is in the table then
3. Create a temporary link to a downloading script with the creation time and file ID encrypted in the token, such as [login to view URL]
where is encrypted link creation time, plus a file ID.
4. Send an email message to the specified email. The email message will contain a template loaded from a file and the created download link.
5. When the user clicks the download link in the email, [login to view URL] script compares the encrypted time from the and checks against current server time. If the difference is less than specified number of hours, it will serve the file connected to the file ID for downloading, otherwise an error message will be displayed and no download will be allowed.
The solution must feature a configuration file(s) for defining
- file IDs, their respective locations on the server and their respective email templates locations
- expiry time for the link (in minutes)
- access info for the MySQL database
- error messages and alike
- email template is a simple UTF-8 file with the text of the email and one defined variable where the link will be inserted
- must work with UTF-8 encoded emails
Please read carefully before bidding, make sure you can deliver what we ask for.
Thanks for looking!
We will create a form which have two fields:
1. eamil
2. captcha
and end user will enter email and captcha and then based on the email address we will check in db and then create a link to download the file with expiration time encoded into the url.
If the expiration time will exceed then user can not download that file.
we have developed lot of site.
Our Skype id: solutionswithus