Redirect on the Basis of Referring

Discussion in 'PHP' started by nitins60, Aug 5, 2007.

  1. #1
    i would like to redirect/forward the user who are referred by a link. The problem is when it comes to do the same thing with files. I would like to allow ppl to download who referred by that link only.
     
    nitins60, Aug 5, 2007 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Just write the logic into your script.

    You may need a database to store all the referrer - file matches in it as it would be cumbersome to manage in the script. Ofcourse, you'd then need to write an admin section... so you need to scope out your requirements first.
     
    sarahk, Aug 6, 2007 IP