Skip to content
Advertisement

Tag: readfile

Download abuse with php Content-Disposition: attachment and readfile

I’m having a download abuse issue with php Content-Disposition: attachment and readfile. It seems that my problem is with readfile, because although this script works, whether or not the client closes their browser, readfile reads the entire contents of the mp4, setting up the possibility of abuse with scripts initiating the download and immediately closing the progress. Something, somewhere, is

Advertisement