RE: [PHP] Re: PDF from PHP generated HTML, possible?
| From: | Graham Cossey | Date: | Thu, 23 Sep 2004 15:25:27 +0000 |
| Subject: | RE: [PHP] Re: PDF from PHP generated HTML, possible? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197704@lists.php.net to get a copy of this message | ||
That's fine for static pages, my question was regarding dynamic pages that I
did not wish to pass through the database querying again.
I understand that if my dynamic page is
http://server/app/page1.php?cust=12345&t=3
I can supply that URL which will
result in HTML that can be processed by (for example) pdf-o-matic. However,
as I've already run all the queries necessary I would like to not have to
run them all again when requesting the PDF.
Thanks
Graham.
-----Original Message-----
From: Mikey [mailto:mikey@radius-design.co.uk]
Sent: 23 September 2004 15:50
To: php-general@lists.php.net
Subject: [PHP] Re: PDF from PHP generated HTML, possible?
Hmmm, I cannot believe that there are people on this list who do not know
how to use Google. I tried "convert HTML to pdf" and came up with loads of
results - including http://www.easysw.com/htmldoc/pdf-o-matic.php
that seems
to allow you to see their source code.
HTH,
Mikey
----- Original Message -----
From: "Graham Cossey" <graham@cossey.plus.com>
Newsgroups: php.general
To: "Php-General" <php-general@lists.php.net>
Sent: Thursday, September 23, 2004 3:44 PM
Subject: PDF from PHP generated HTML, possible?
>
> Following the topic about generating PDF documents from within PHP has
> prompted a thought...
>
> Is it possible to have PHP dynamically build an HTML page (from database
> data etc) and provide an option to output the page as PDF without going
> through all the database query routine again?
>
> In other words, to produce a PDF file from dynamic HTML.
>
> This is because I have seen at least one 'product' that reports to produce
> PDF from HTML 'files'.
>
> Any help/guidance/suggestions/URLs welcomed.
>
> Graham
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php