Hi all
I am havign a frustratign little problem, i am hoping someone can shed some light on. I am using FPDF to create PDF’s, this works fine on my local server. However, I am having a problem setting the correct file path to images when i upload it to my server.
its was:
$this->Image(‘C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\landp\site\pdf\ dp.jpg’,150,8,50);
I think i need to cut out the ‘C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs’ and replace it with $_SERVER[‘DOCUMENT_ROOT’].
But for the life of me i cant seem to nail the syntax!!
Thanks in advance