pdf fclose error

See all posts See thread Reply

Re: pdf fclose error new!
by javier, 17 years, 7 months ago
if i use
$MyObject->mime_check = false;
it worksReply
Re: pdf fclose error new!
by colin, 17 years, 6 months ago
Basically, the MIME type of your PDF file is not recognized by the class, or by the underlying system.

application/force-download is a weird MIME type. It should be application/pdf for a PDF document.

It is possible that your server is wrongly set up, and misintepret the MIME types. If you have the mime_magic extension enabled with PHP, check its configuration.

Maybe this page can help.Reply