PHP + PDF

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-27-2003
BeppeCosta
 
Posts: n/a
Default PHP + PDF

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0