
Dynamic Download URL generator script
- or -
Post a project like this1366
£30(approx. $40)
- Posted:
- Proposals: 8
- Remote
- #3545815
- Completed
WEBSITE DEVELOPMENT & DESIGN ! WORDPRESS ! JAVA ! PHP ! JAVASCRIPT ! GRAPHIC DESIGN | VIDEO | EXCEL VBA & MACRO EXPERT

7023196256106658175016777747128780067979276937541260836
Description
Experience Level: Entry
Hi there. Im looking for a relatively simple script to be created.
I have a MySQL table with a bunch of files URL in there. a column called 'URL' contains a string, basically "http://Server1/file1.bin,http://Server2/file1.bin".
I would like a script which can read these files and display them all in a list. If i need to provide a direct download URL for them, i could click a button which will generate a unique download URL for the file which expires after a time that i can define. Being able to define this one time in the script code is sufficient.
I would like a record of all generated links to be stored in a new MySQL table too, ideally containing the One-Time URL itself, the time/date the link was created and the time/date it expires.
I have tried following this guide which mostly works, but seems broken on php version 8 and MariaDB. I am happy for whoever takes the project to use this project as a base as i like the way it functions. The ONLY downside to this script is i need to upload the files separately to a folder for the script, it doesn't seem to be able to reference where my files are already stored and i don't really wish to duplicate hundreds of GB's of files on my server.
https://webmobtuts.com/backend-development/generating-dynamic-urls-for-downloading-files-in-php/
If adapting it is too hard, at least try to use its relatively clean and simple style.
For reference, the script itself will NOT be public accessible. It will be used by me to generate links to provide to people.
I have a MySQL table with a bunch of files URL in there. a column called 'URL' contains a string, basically "http://Server1/file1.bin,http://Server2/file1.bin".
I would like a script which can read these files and display them all in a list. If i need to provide a direct download URL for them, i could click a button which will generate a unique download URL for the file which expires after a time that i can define. Being able to define this one time in the script code is sufficient.
I would like a record of all generated links to be stored in a new MySQL table too, ideally containing the One-Time URL itself, the time/date the link was created and the time/date it expires.
I have tried following this guide which mostly works, but seems broken on php version 8 and MariaDB. I am happy for whoever takes the project to use this project as a base as i like the way it functions. The ONLY downside to this script is i need to upload the files separately to a folder for the script, it doesn't seem to be able to reference where my files are already stored and i don't really wish to duplicate hundreds of GB's of files on my server.
https://webmobtuts.com/backend-development/generating-dynamic-urls-for-downloading-files-in-php/
If adapting it is too hard, at least try to use its relatively clean and simple style.
For reference, the script itself will NOT be public accessible. It will be used by me to generate links to provide to people.
Chris H.
100% (15)Projects Completed
13
Freelancers worked with
11
Projects awarded
67%
Last project
7 May 2023
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies