Brian Dunning wrote:

> 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);
>
Pretty sure Richard already squared this one away, I think this is the
article you are looking for:

http://richardlynch.blogspot.com/

Travis

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

Reply via email to