Bogdan Stancescu wrote:

> 
> My code looks like this:
> <?
> $fp=fopen("somefile","r");
> header("Content-type: application/pdf");
> fpassthru($fp);
> fclose($fp);
> ?>
> 
> Does anybody know why this doesn't work with IE?

Unfortunately, yes. Unless they fixed it in recent functions IE
ignored the content-type header and only looked at the 'extension' of
the URL (which has no meaning at all in an URL according to the RFC).

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to