Installing FPDF

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JasonTC
Forum Commoner
Posts: 92
Joined: Wed Nov 02, 2005 11:05 am
Location: Grand Rapids, MI

Installing FPDF

Post by JasonTC »

I'm trying to install FPDF (http://www.fpdf.org/).

Where am I supposed to put the FPDF folder in relation to my wwwroot or Apache folder? I'm assuming I just put it in my wwwroot folder, but I don't know if that's right.

And in install.txt, it says:
Here is an example defining FPDF_FONTPATH (note the mandatory final slash):

define('FPDF_FONTPATH','/home/www/font/');
require('fpdf.php');

With what do I replace "/home/www/font/"? I know that the names "home" and "www" have pretty obvious implications, but I really suck at installing stuff and I kind of need it spelled out for me.

Thanks,
Jason
Post Reply