Sorry to revisit this issue YET ONE MORE TIME...  :)  :)

My online store sends out the file for download upon purchase. Below are the headers I send, and I understood that it should work for all browsers. It does not work for Firefox. Suggestions?

header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.$filename);
$size = filesize('../../store/files/'.$filename);
header('Content-Length: '.$size);
readfile('../../store/files/'.$filename);

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to