By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Warning: getimagesize(img/header.jpg) [function.getimagesize]: failed to open stream:

P: 1
Hi Team ,

Please help me to solve this error ,

Warning: getimagesize(img/header.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/u322615259/public_html/biotech/fpdf/fpdf.php on line 1213
FPDF error: Missing or incorrect image file: img/header.jpg

I am sending full code of fpdf.php file ,
please find attached file.

Thanks & Regards
Alok Mohan
Attached Files
File Type: txt PDF.txt (46.0 KB, 257 views)
Oct 10 '14 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,208
So it looks like the image doesn't exist that you are trying to open. Not sure what else you want answered?

if you don't want it to error out I suppose you better verify the file exists before trying to parse it
Oct 12 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.