pdf conversion

This is a discussion on pdf conversion within the PHP Language forums, part of the PHP Programming Forums category; Hi, I m newbie to the php, I copied a code and pasted it in dreamweaver and opened it in ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2007
chandoo
 
Posts: n/a
Default pdf conversion

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

Reply With Quote
  #2 (permalink)  
Old 08-15-2007
Álvaro G. Vicario
 
Posts: n/a
Default Re: pdf conversion

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
--
Reply With Quote
  #3 (permalink)  
Old 08-15-2007
chandoo
 
Posts: n/a
Default Re: pdf conversion

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.


Reply With Quote
  #4 (permalink)  
Old 08-15-2007
Jerry Stuckle
 
Posts: n/a
Default Re: pdf conversion

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.
jstucklex@attglobal.net
==================
Reply With Quote
  #5 (permalink)  
Old 08-15-2007
chandoo
 
Posts: n/a
Default Re: pdf conversion

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0