Re: php > XML output in IE: no display
| From: | Johan | Date: | Mon, 09 Jul 2001 16:25:34 +0000 |
| Subject: | Re: php > XML output in IE: no display | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8209@lists.php.net to get a copy of this message | ||
Stupid IE!!!
When sending PDF's, I found that I allways have to send content-length as
header to get IE to understand...
<? //Like this:
header("Content-type: application/pdf");
ob_start();
-- create pdf --
$len = ob_get_length();
header("Content-Length: $len");
ob_end_flush();
?>
Hope it helps, havn't tried (not workin with XML/PHP)
/Johan