<?php
require 'prince.php';
//print_r() ;
//exit();
$prince = new Prince('D:\\prince\\engine\\bin\\prince.exe');
//$prince = new Prince('D:\prince\engine\bin\prince.exe');
header('Content-Type: application/pdf');
header('Content-Disposition: inline; filename="foo.pdf"');
$prince->convert_file_to_passthru('http://www.baidu.com');
?>
如�%B
Can’t see the specific error content?