This is an archived forum post. The information may be outdated. Contact us if you have any questions.
$pdf = $client->convertURI("http://gsdc.ca/industriallands/details.php?id=5");
require 'pdfcrowd.php'; $client = new Pdfcrowd(USERNAME, APIKEY); try { $fd = fopen("OUTDIR/out.pdf", 'wb'); $pdf = $client->convertURI('http://gsdc.ca/industriallands/details.php?id=5', $fd); fclose($fd); } catch(PdfcrowdException $why) { echo $why; }