Changeset 17259
- Timestamp:
- 2008/04/13 11:48:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/pdf/fpdf.php
r17182 r17259 1031 1031 { 1032 1032 //We send to a browser 1033 if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { header('Pragma:'); } 1033 1034 header('Content-Type: application/pdf'); 1034 1035 if(headers_sent()) … … 1043 1044 if(ob_get_contents()) 1044 1045 $this->Error('Some data has already been output, can\'t send PDF file'); 1045 if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) 1046 if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { 1047 header('Pragma:'); 1046 1048 header('Content-Type: application/force-download'); 1049 } 1047 1050 else 1048 1051 header('Content-Type: application/octet-stream');
Note: See TracChangeset
for help on using the changeset viewer.