You POST your HTML to the service, and it responds with a PDF within a few seconds. It's that simple!
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://converthtmlpdf.com/process.scx?subscriber=12345');
curl_setopt($ch, CURLOPT_POST, 1);
// Tip: Be sure to use absolute URLs
curl_setopt($ch, CURLOPT_POSTFIELDS, iconv('UTF-8', 'ASCII//TRANSLIT', $HTMLCONTENT));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$pdfDocument = curl_exec($ch);
// Save or display the PDF in your application or site.
Registered users also have unlimited use of the link converter at the left.