I am trying to generate PDF file via a Dynamic URL. The problem is that i am trying to get the HTML source from this dynamic URL (http://countryclubrv.com/brochure.php?site=1) and paste the source of the file in the source below $HTMLSOURCE
$html = $HTMLSOURCE; $dompdf = new DOMPDF(); $dompdf->load_html($html); $dompdf->render(); $dompdf->stream("sample.pdf");
U forgot the question ...
sorry , how do i get the HTML source from the link
Look at the curl functions.