I had a similar problem. What I did was to create a refering page with a link to the php page that creates the pdf and then suddenly it showed. If you call the PHP page directly all kind of weird things happen. If you look at the source of the new page (PHP one that creates the PDF) you will see that it uses the <embed> tag to display the PDF. It seems that is the only way that I can display the created PDF's. I did not do much more investigating since this works fine for me.
Also I am using FPDF (ww.fpdf.org) instead of the normal PDF library, I find it much easier and with less problems. Mh "Leonardo javier belén" <[EMAIL PROTECTED]> wrote in message 00ae01c2c329$43ec4bb0$[EMAIL PROTECTED]">news:00ae01c2c329$43ec4bb0$[EMAIL PROTECTED]... > Nothing happens. Its the same problem. It seems that IE does not understand > the data sent this way. Does anyone has a clue about how to solve it? > Thanks. > > Leonardo Javier Belén. > AFIP-AR. > > > ----- Original Message ----- > From: "Scott Carr" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 23, 2003 5:27 PM > Subject: Re: [PHP-WIN] Fw: PDF extensions seems to do not work properly on > IE > > > > You need to check the disposition line. > > > > Content-Disposition: inline; filename=genome.jpeg > > > > I believe you are missing the semi-colon. > > -- > > Scott Carr > > Documentation Maintainer > > http://documentation.openoffice.org > > OpenOffice.org > > > > > > Quoting Leonardo Javier Belén <[EMAIL PROTECTED]>: > > > > > > > > ----- Original Message ----- > > > From: Leonardo Javier Belén > > > To: [EMAIL PROTECTED] > > > Sent: Thursday, January 23, 2003 10:51 AM > > > Subject: PDF extensions seems to do not work properly on IE > > > > > > > > > Hi all! > > > I am facing a problem with PHP (binaries from php.net) over APACHE > 1.3.x > > > on Windows 95 and IE5&6 as a client (in both WinNT40 and Win95). The > > > problem is as follows: > > > I need to use the pdf libraries (both cpdf and pdflib) and I cannto > make > > > work any sample. If i use the "hello world" from the documentation pack, > > > which is with cpdf: > > > > > > <?php > > > $cpdf = cpdf_open(0); > > > cpdf_page_init($cpdf, 1, 0, 595, 842, 1.0); > > > cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1"); > > > cpdf_begin_text($cpdf); > > > cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding"); > > > cpdf_set_text_rendering($cpdf, 1); > > > cpdf_text($cpdf, "Times Roman outlined", 50, 750); > > > cpdf_end_text($cpdf); > > > cpdf_moveto($cpdf, 50, 740); > > > cpdf_lineto($cpdf, 330, 740); > > > cpdf_stroke($cpdf); > > > cpdf_finalize($cpdf); > > > header("Content-type: application/pdf"); > > > header("Content-Disposition: filename=test.pdf"); > > > Header("Expires: 0"); > > > cpdf_output_buffer($cpdf); > > > ?> > > > > > > the answer is always the same: > > > 1. a dialog box asking me to discard the file based on the information > on > > > the control (which I suspect is a problem with the settings on IE but at > > > least shows me it recognises the right control). > > > 2. start to load the control and then a dialog box (during > initialization of > > > the control) tells me that the file is no available. > > > > > > Please help! I dont know what the problem is. > > > Thanks in advance. > > > Leonardo J. Belén. AFIP-AR. > > > > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php