Friday, October 19, 2012

Create PDF PHP

Create PDF PHP


You can create PDF File using PHP Scripts.First you have to download library file for PDF creation from here.
then create following PHP file and see the result

<?php
require('fpdf.php');
$PDF = new FPDF();

$PDF->AddPage();
$PDF->SetFont('Arial', 'B', 16);
$PDF->Cell(40, 10, 'welcome to wentekweb

infoplus');

$PDF->Output();
?>
PDF file will be generated and downloaded to your browser download folder

No comments:

Post a Comment