Go to the source code of this file.
Variables | |
| $linkToPDFFull = $linkToPDF = tempnam(dirname(__FILE__), 'PDF-') | |
| $linkToPDF = '.pdf' | |
| $htmlFile = str_replace('.pdf', '.htm', $linkToPDFFull) | |
| $defaultDomain = 'www.rustyparts.com' | |
| $fp = fopen($htmlFile, 'w') | |
| $pdf = & new HTML_ToPDF($htmlFile, $defaultDomain) | |
| $result = $pdf->convert() | |
|
|
Definition at line 25 of file example3.php. |
|
|
Definition at line 88 of file example3.php. Referenced by HTML_ToPDF::convert(). |
|
|
Definition at line 24 of file example3.php. |
|
|
Definition at line 22 of file example3.php. |
|
|
Here we create an encrypted PDF file based on a dynaically generated page. We buffer the content of the page and then create the PDF at the end. Then we load up PDFEncryptor and set meta-data, password, and permissions. Finally, we send a header and the file so it opens straight into the browser. Definition at line 19 of file example3.php. |
|
|
Definition at line 94 of file example3.php. |
|
|
Definition at line 100 of file example3.php. |
1.4.3-20050530