View Full Version : how to making pdf files

08-15-2007, 11:28 AM
I m newbie to the php,
I copied a :confused: code and pasted it in dreamweaver and opened it in my local host.
still i got these problems!
Can u please rectify my probs?
The Program is

$pdf=new FPDF();
$pdf->Cell(40,10,'Hello World!');

and the out put is:

Warning: require(fpdf.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\pdf\pdf.php on line 2

Fatal error: require() [function.require]: Failed opening required 'fpdf.php' (include_path='.;C:\php5\pear') in C:\wamp\www\pdf\pdf.php on line 2

can u resolve this problem........And can u send me the code for the pdf conversion,if the time and thigs avails.
Thank u

08-15-2007, 11:51 AM
Sounds like you haven't uploaded the fpdf.php file to your site or have uploaded it to the wrong place.