Hi guys i need a little advise.
I am trying to implement FPDF so i can output some pdf files, however I am having some major issues implementing it. I have downloaded it, unzipped it and put it in my htdocs folder (actually htdocs/landp/site/includes/fpdf).
in my php file i start with (in fact it is the only line so far!):
require $_SERVER[‘DOCUMENT_ROOT’]. ‘/landp/site/includes/fpdf/fpdf.php’;
but i get the following warning.
Warning: require(C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/landp/site/includes/fpdf/fpdf.php) [function.require]: failed to open stream: No such file or directory in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\TMPh38ecc1dvg.php on line 3
Fatal error: require() [function.require]: Failed opening required ‘C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/landp/site/includes/fpdf/fpdf.php’ (include_path=‘.;C:\php5\pear’) in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\TMPh38ecc1dvg.php on line 3
I can’t see where i am going wrong, so some assistance would be greatly appreciated!