Hi
This header works better for us as we had problem with product_sheet files in IE
Its a modified version of the send_file function in file ps_product_files.php
This header is based on the one used in Docman
$fsize = filesize($dbf->f("file_name"));
header("Pragma: public");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0");
header("Content-Transfer-Encoding: binary");
header('Content-Disposition: inline;'
. ' filename="' . basename($dbf->f("file_name")) . '";'
. ' size=' . $fsize .';'
);
header("Content-Type: " . $dbf->f("file_mimetype") );
header("Content-Length: " . $fsize);
/Jonas
www.kodamera.se