A problem that I ran into with pdf's was while using sessions. If you use a session
be sure you call session_write_close() before sending the first headers for the pdf.
What is your webserver configuration. OS,Webserver, version,php version, cgi,
isapi....
Charles
Windows 2000 Server, IIS 5.0, PHP 4.2.3
-----Original Message-----
From: Leonardo Javier Belén [mailto:[EMAIL PROTECTED]]
Sent: Fri 1/31/2003 7:51 AM
To: [EMAIL PROTECTED]
Cc:
Subject: [PHP-WIN] There is no way I can build "on the fly" pdfs
Hi all
I would like to ask you how can I generate PDFs on the fly since I tried
all the stuff around. I cannot make it work even when using the examples provided. The
problem seems to affect both cpdf and pdflib.
The fact is that says that I cannot see the file because it isnt available.
I tried to put the "inline" statement, and then the
"filename=<<whatever>>.pdf". Nothing seems to work.
Then I read on the list that I should put a fake PDF extension via a new
argument to the URL. This didnt work either. So my ask is someone could generate pdfs
on the fly? and is it a problem with IE (I'm using IE6 here) and how to solve it or
make the way around the problem.
Thanks a lot!
Leonardo J. Belén. AFIP-AR