Anyone know if it's possible to do it using php alone. I am looking to limit a video streams viewing to 20 minutes per IP address. I know how to do everything else it's just counting the 20 minutes that I don't know how to fix. I was thinking of something like flushing the video to the browser then have the script sleep for 20 minutes after which code would load to reload the page and block the users ip from the video.
Any suggestions? I was thinking that I could use Javascript but the problem with that is that people could just disable it.
Any suggestions? I was thinking that I could use Javascript but the problem with that is that people could just disable it.