I am a php newbie. I am trying to use the Pear function XML/fo2pdf to convert xslfo to pdf. It has been installed on a public host for me so I don't have any way of verifying that everything is installed correctly.

The code I am using is:

1 <?php
2 include_once ("XML/fo2pdf.php");
3
4 $pdf = new XML_fo2pdf( );
5 $pdf->tmpdir = "_pdf";
6 $pdf->run("_pdf/simple.fo",...