can anyone show me examples of how to implement prince through php? i have uploaded prince to http://jestercom.net/prince/prince.php, i guess i need a second php file (runPrince.php) that calls on the functions inside prince.php
here's what i have inside the second php file:
<?php
$prince = new Prince('/prince');
$xmlPath = "healthcareanywhere.businesscatalyst.com/CaseRetrieve.aspx?ID=478760&E=1";
$pdfPath = "/prince/output";
function convert_file($xmlPath, $pdfPath, &$msgs = array());
function setHttpUser(alyda);
function setHttpPassword(password);
?>
here's what i have inside the second php file:
<?php
$prince = new Prince('/prince');
$xmlPath = "healthcareanywhere.businesscatalyst.com/CaseRetrieve.aspx?ID=478760&E=1";
$pdfPath = "/prince/output";
function convert_file($xmlPath, $pdfPath, &$msgs = array());
function setHttpUser(alyda);
function setHttpPassword(password);
?>
Edited by alyda