t_machine Posted January 27, 2007 Share Posted January 27, 2007 hi, I would like an example script if possible of how to create download links that expires.I would like to link to my download files but i want the user to have access to that link for only 24 hours.Thanks :) Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted January 27, 2007 Share Posted January 27, 2007 Maybe you could make a table in your database called "links" with a row some how tying in with the link/download ID with another table. And whenever they should be able to click on the link it will insert the data into that table, then you could make a cron that deletes the rows that have been there for 24 hours. I can't think of anyway else to do it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.