fpdf
| From: | Mukta Telang | Date: | Thu, 31 Jul 2003 10:27:00 +0000 |
| Subject: | fpdf | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157665@lists.php.net to get a copy of this message | ||
Hi,
I want to display the results generated by the query and generate a pdf
document (using fpdf) for the users to save. The user should be able to
save
it by clicking on a save button. I have a script called display.php
which
displays the result of the query..now I want user to be able to save by
pressing save button. That is I want to do this in the display.php
script
itself, because the result of the query is too large to POST to another
script.
If I do:
$pdf->Output("/tmp/new.pdf"); then I can save the pdf document..but I
want this to happen only if the user clicks on save button and he/she
should be able to download it by doing so.
How to do this?
Thanks in advance,
Mukta