By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,082 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

PHP + PDF

P: n/a
We decided to use output_handler = ob_gzhandler on one of our server,
because it is very slow and this is the only option that keeps the old
page on screen instead of clearing it before displaying the new one.

With this configuration a problem arises in creating PDF docs to be
displayed on fly, because IE asks for download instead of opening the
pdf reader (while Netscape works fine).

I've been told that this is a IE bug. However all of our user run IE
and it should difficult to convince them to use another browser
because IE is said to have a bug. Probably they would think that we
programmers have a bug !!

The documentation says that ini_set() allows to operate on
output_handler parameter, than I thougt that a
ini_set('output_handler','') before sending the pdf should solve the
problem.

It does not seem to work. The only way is to disable output_handler
from php.ini.

I've alredy posted on bug.php but it has been immediately classed as
bogus without any investigation, because, they said, this is a IE bug.

Can anybody help me to find a way to disable the output_handler only
when we send the pdf.

Thanks.

gc****@sidin.it
www.sidin.it
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.