pdf conversion

pdf conversion

am 15.08.2007 11:23:09 von chandoo

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
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

Re: pdf conversion

am 15.08.2007 12:18:52 von alvaro.NOSPAMTHANKS

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
--

Re: pdf conversion

am 15.08.2007 12:25:36 von chandoo

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.

Re: pdf conversion

am 15.08.2007 14:00:48 von Jerry Stuckle

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&ie=utf-8&oe=utf-8&aq=t&r ls=org.mozilla:en-US:official&client=firefox-a

See the first hit on the page.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: pdf conversion

am 15.08.2007 14:46:22 von chandoo

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