note 71948 modified in function.ociloadlob by sixd
| From: | sixd@php.net | Date: | Thu, 08 Oct 2009 19:22:37 +0000 |
| Subject: | note 71948 modified in function.ociloadlob by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161541@lists.php.net to get a copy of this message | ||
Ps. To prevent IE errors like 'File not found!' after downloading file from db I recommend
to add next two lines into header:
header('Cache-Control: max-age=0');
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
With this, IE will open any file normally :)
--was--
Ps. To prevent IE errors like 'File not found!' after downloading file from db I recommend
to add next two lines into header:
header('Cache-Control: max-age=0');
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
With this, IE will open any file normally :)
http://php.net/manual/en/function.ociloadlob.php