i've never used images in a pdf before so i started with a simple code:
<img src="demo.png">
but i get these errors:
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/helpdesk/:/tmp:/var/tmp:/usr/local/lib/php/) in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 130
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/helpdesk/:/tmp:/var/tmp:/usr/local/lib/php/) in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 132
Warning: imagepng() [function.imagepng]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/helpdesk/:/tmp:/var/tmp:/usr/local/lib/php/) in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 157
Warning: imagepng() [function.imagepng]: Invalid filename in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 157
Warning: imagepng() [function.imagepng]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/helpdesk/:/tmp:/var/tmp:/usr/local/lib/php/) in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 163
Warning: imagepng() [function.imagepng]: Invalid filename in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 163
Warning: fopen() [function.fopen]: Filename cannot be empty in /***/includes/html2pdf/_mypdf/03_fpdf_alpha.class.php on line 243
FPDF error: Can't open image file:
why isn't it ginving a filename here: "File()"?