Download file without knowing URL/Using Download Manager , How can i do that ?

Discussion in 'PHP' started by BNix, Jul 30, 2006.

  1. #1
    In some site , ex. PHP-Nuke site When you download a file , you didn't know the File's URL and cannot use the download manager.

    How can i do that on my site ?

    I saw some site that require to enter exact Referrer URL in the download manager (The referrer URL will change everyday) before downloading

    Example
    File URL : http://www.ex.com/files/ex.rar
    Referrer : http://www.ex.com/referrer?S1H43B809B

    How can they do that ?


    Thanks a lot !
     
    BNix, Jul 30, 2006 IP
  2. dckoo5

    dckoo5 Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can make the referrer URL a function of the date and file name. You can also try generating new keys daily and storing them in a db table. Then, pull the file info from the db.
     
    dckoo5, Jul 30, 2006 IP
  3. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Look through some free filehost scripts. They usually implement some sort of download restriction.

    Check this out:
    http://j-fx.ws/ffh

    Thomas
     
    coderlinks, Jul 31, 2006 IP
  4. BNix

    BNix Peon

    Messages:
    224
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks a lot , Sorry for replying late
     
    BNix, Aug 2, 2006 IP