1 2 3 4 5 6 7 8 9 10 11 |
<?php require('html2fpdf.php'); $html = file_get_contents("http://aq.gthex.co.uk:10000"); $pdf=new HTML2FPDF(); $pdf->AddPage(); $pdf->WriteHTML($html); $pdf->Output("sample.pdf"); echo "PDF file of codehaven is generated successfully!"; ?> |
