How to create a download script

Discussion in 'PHP' started by nabil_kadimi, Oct 7, 2007.

Thread Status:
Not open for further replies.
  1. #1
    [CLOSED] ... I searched for "php file handling" on google.


    Hi!

    I would like to build a paid download site, but I have not any idea of how to manage my downloads, here what I want to know.

    How can I make a script that allows a given url to be accessible for 24hours, for example the url http://www.example.com/download.php?hash=8735242 should work only for 1 day to let the buyer download what he bought, then It will display (Download time finished, please contact us If haven't downlodaded the file..."), another buyer will of course get another URL for the same file.

    Help appreciated, will rep for your efforts.

    Thanks a lot
     
    nabil_kadimi, Oct 7, 2007 IP
  2. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #2
    OP reports solution found. Thread closed.
     
    Smyrl, Oct 7, 2007 IP
Thread Status:
Not open for further replies.