Go to the source code of this file.
Variables | |
| $htmlFile = 'http://www.example.com/index.html' | |
| $defaultDomain = 'www.example.com' | |
| $pdfFile = dirname(__FILE__) . '/test2.pdf' | |
| $pdf = & new HTML_ToPDF($htmlFile, $defaultDomain, $pdfFile) | |
| $result = $pdf->convert() | |
|
|
Definition at line 22 of file example2.php. |
|
|
A more complex example. We convert a remote HTML file into a PDF file. Additionally, we set several options to customize the look. Definition at line 21 of file example2.php. |
|
|
Definition at line 27 of file example2.php. |
|
|
Definition at line 23 of file example2.php. |
|
|
Definition at line 44 of file example2.php. |
1.4.3-20050530