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 that it might not be a browser problem after all.  But something with
the fpdf library.  One way to test my theory is to grab a working pdf file
on my machine and put it on the server, have php point to it and see if it
can be display without a problem.  If there's problem then it had to do with
the poor scripting I made on the php header.

Right now, I'm thinking of using hte HTML conversion to PDF feature.  I
haven't found this feature on the Internet until recently when I saw an
earlier PHP newsgroup post yesterday.  The reason is because it's quicker
that way, I'm trying to finish the project so I can leave my job.  So, I
would like to make this project be simpilier for any future hired web
programmer.

Scott F.

"Chris Hayes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> 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  and many other reasons.
> The safest workaround might be to save the pdf on the server, and then use
> headers to tell the browser where to find it.
>
>
> At 14:55 14-10-03, you wrote:
> >Well, now, I get an unknown file type.  I have already specified the
> > > > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
> > > > news:[EMAIL PROTECTED]
> > > > > > I seem to be having problem with sending the PDF document to the
> > browser to
> > > > > > be open on screen.  I kept getting the error message, it say
> > 'Windows cannot open this file'.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to