cuchandoo
08-15-2007, 10:28 AM
Hi,
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
<?php
require('fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
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
Chandoo.M.v
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
<?php
require('fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
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
Chandoo.M.v