This is an archived forum post. The information may be outdated. Contact us if you have any
Generating PDF of Referring URL
wrote on 2013-02-14:
I have a test example where I got the API working using PHP. However, what I want is to to put a link in a dynamic page template to generate PDFs of those pages (just like the type of link you guys offer for free).
My initial thoughts were that I should use my working example, but find a way to get the referral URL working like this: $pdf = $client->convertURI('referralurlhere'); but I don't know how to do that nor am I sure if that's the best way. Let me know what you think is the best way. I'm simply using the code below "getting started on this page: https://pdfcrowd.com/api/html-to-pdf-php/