I'm looking for a FREE script that will change the URL/LINK name automatically every xx seconds or whenever. I have a download link on my website. I want that download link to change automatically without having to rename it every 10 minutes, 20 minutes, 30 minutes, hour. Where can I get a FREE PHP script that will do this for me? I don't have the money to purchase it. ???
Hi, I searched a bit but didn’t find any ready to use script, you can write a small PHP script to do this and make it run through cron! Hope this helps,
This sounds like a cron job. So in addition to making the cron job you'll have to write a script. This is kind of useless if you just have a smaller site. If you are worried about people leaking the download link then you should be worried about them just sending the file.
You can make a script that changes the file name and update a database with the new url. Then just run it through cron every 10 minutes or so. And on the download page just get the link from the database.
There are better solutions to prevent file theft (sharing) than just having the file renamed every X minutes. I can't remember the name of the script that gives you a 1 use link every time, anyone fill in the blanks for me?