Checking if user is currently downloading a file

Discussion in 'PHP' started by tanyania, Jul 16, 2011.

  1. #1
    Hi,

    I'm trying to figure out the best way to determine if a user is currently downloading a file from my website.
    The way my site works, is the user waits 30 seconds and views an ad. After the timer is up the download becomes available.
    I heard that I could probably use a timestamp or something of the sort. I've read up on it but not sure how I could go about this.
     
    tanyania, Jul 16, 2011 IP