I'm sure I'm missing something utterly basic, but as I'm somewhat a newb at this...
I've installed prince on my Linux server which currently runs PHP 5.2.3. So far I can call prince fine from the command line and get appropriate results, but when I try to call it with the following code in a test php file:
$xml_path = "/home/uzer/public_html/magic.xml";
$prince = new Prince('/usr/local/bin/prince');
$prince->convert1($xml_path);
I get nothing. I've tried everything I can think of with messing around with the strings but to no result. Is there something obvious I missed?
I've installed prince on my Linux server which currently runs PHP 5.2.3. So far I can call prince fine from the command line and get appropriate results, but when I try to call it with the following code in a test php file:
$xml_path = "/home/uzer/public_html/magic.xml";
$prince = new Prince('/usr/local/bin/prince');
$prince->convert1($xml_path);
I get nothing. I've tried everything I can think of with messing around with the strings but to no result. Is there something obvious I missed?