Hi Guys!
I'd like to write a script which is able to handle http resumes.
So far I'm doing something like this:
Header ("Content-Type: application/octet-stream");
Header ("Content-Disposition: attachment; filename=$file");
Header ("Content-Length: " . filesize("$file"));
readfile("$file");
Is there any there any header in the http request which indicates were to seek in the file? e.g. download beginning at byte 10000.
Another question concerning the readfile() bit: doesn't that mean, the php file is running until the client has finished receiving the file and thus get's killed because it exceeds the maximum running time?
Regards, George