Well, now, I get an unknown file type. I have already specified the
application type. This was yesterday. Today, I get the file type as
'Acrobat Control for Active X'. That doesn't look right... Oh well...
Will have to play around and see what can I do to make it work better. A
couple of
It might help to have a peek at how the php Pdf libraries are doing this
(www.php.net/pdflib, fpdf.org, www.ros.co.nz/pdf) . There are a lot
of things to worry about with pdf, not the least the fact that older
acrobat readers will give plenty of errors when the page is not send fast
enough
I'm using the library from www.fpdf.org. I currently using the method on
storing the file to the server because of two features. One so I can have
php script to use the email to pick up the file and send it to my boss.
Two, an optional option to view the billing invoice. I am beginning to
think
Aw, scratch that HTML conversion to PDF feature. It require an installation
of a couple of other stuffs. I'm going to stick back to fpdf library for
now.
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using the library from www.fpdf.org. I currently using the
Forget the content length and disposition headers. Just set the content type then
output the file..
header(Content-type: application/pdf);
readfile(junk.pdf);
- Kevin
Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I seem to be having problem with sending the PDF
I can't do readfile() because of lots of bug in IE (Internet Explorer)
Kevin Stone [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Forget the content length and disposition headers. Just set the content
type then output the file..
header(Content-type: application/pdf);
I'm sorry but it can't be done. You cannot output a file without printing it to the
output buffer. You cannot print a file to the output buffer without opening the file
into memory. You cannot open a file into memory without using a function like fopen()
or readfile(). It's as simple as
7 matches
Mail list logo