Results 1 to 1 of 1
Hey folks, I run the site morguefile.com. I am having a issue with the photo download script written in PHP on lighty webserver on centos OS
The script is pretty ...
- 06-17-2009 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 3
x-send
Hey folks, I run the site morguefile.com. I am having a issue with the photo download script written in PHP on lighty webserver on centos OS
The script is pretty basic....
header( "Content-Disposition: attachment; filename=\"" . $title . '"' );
header( "Content-type: image/jpeg");
header( "X-LIGHTTPD-send-file: " . $file);
But the problem is I am getting reports that sometimes people get incomplete file transmissions. It use to be php readfile but i changed it to X-LIGHTTPD-send-file and I added
ini_set("max_execution_time",14400);
That helped a lot but some people are still getting incomplete files. Any ideas?


Reply With Quote