All other browsers working fine. Upload process works fine, even in IE.
Relevant code.
Code php:$file = $service->read((int) $_GET['id']); header("Content-Type: {$file['mime']}"); header("Content-Disposition: attachment; filename=\"{$file['name']}\""); header("Content-length: {$file['size']}"); ob_end_clean(); echo $file['data']; exit;
I'm guessing I'm missing a header. The $service object returns an array from the database with the original filename, mimetype, size and data. Data is stored as a BLOB in the database, other fields are text.
Help please.




Reply With Quote

Bookmarks