example2.php File Reference

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()


Variable Documentation

$defaultDomain = 'www.example.com'
 

Definition at line 22 of file example2.php.

$htmlFile = 'http://www.example.com/index.html'
 

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.

$pdf = & new HTML_ToPDF($htmlFile, $defaultDomain, $pdfFile)
 

Definition at line 27 of file example2.php.

$pdfFile = dirname(__FILE__) . '/test2.pdf'
 

Definition at line 23 of file example2.php.

$result = $pdf->convert()
 

Definition at line 44 of file example2.php.


Generated on Sat Feb 11 08:43:10 2006 for HTML_ToPDF by  doxygen 1.4.3-20050530