By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,122 Members | 1,554 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,122 IT Pros & Developers. It's quick & easy.

pdf conversion

P: n/a
Hi,
I m newbie to the php,
I copied a 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 a source code if time and
thigs avail..
Thank u

Aug 15 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
chandoo escribió:
require('fpdf.php');
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
It's pretty straightforward: the file "C:\wamp\www\pdf\fpdf.php" does
not exist. Did you download and install FPDF?
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor austrohúngaro: http://www.demogracia.com
--
Aug 15 '07 #2

P: n/a
Hi
A.G.vicario
no i dont know where to down load it.
is it the address (The address u given on u r reply)to download the
fpdf.
Thank u can u send me any snippets of code to understand it better .
infact i joined in the office one month ago ..
advise me thank u.
Aug 15 '07 #3

P: n/a
chandoo wrote:
Hi
A.G.vicario
no i dont know where to down load it.
is it the address (The address u given on u r reply)to download the
fpdf.
Thank u can u send me any snippets of code to understand it better .
infact i joined in the office one month ago ..
advise me thank u.

Try:

http://www.google.com/search?q=fpdf&...ient=firefox-a

See the first hit on the page.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 15 '07 #4

P: n/a
Hi
jStuckle
Thanks a lot ,U r supporting to this forum is brilliant.
Thanks for u r encouragement.
take care.
May God bless u

Aug 15 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.