How to detect when file is downloaded completly in php?

Discussion in 'Programming' started by mginger, Sep 20, 2010.

  1. #1
    Hi,

    Does any one how we can detect when user finishes full file download?

    like if i want to create a system in which user only get points when he streams full movie only not just he opens the movie from website.

    Any help appreciated.

    Thankx in advance
     
    mginger, Sep 20, 2010 IP
  2. osol

    osol Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    one way is to do an ajax check to see if the move_uploaded_file function is performed by looking at the loaction of the target file
     
    osol, Sep 26, 2010 IP
  3. xrvel

    xrvel Notable Member

    Messages:
    918
    Likes Received:
    30
    Best Answers:
    2
    Trophy Points:
    225
    #3
    I guess you should build custom movie player. However i am interested about this too :)
     
    xrvel, Sep 27, 2010 IP