This is a discussion on PHP + PDF within the PHP Language forums, part of the PHP Programming Forums category; We decided to use output_handler = ob_gzhandler on one of our server, because it is very slow and this is the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. gcosta@sidin.it www.sidin.it |