|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30005 image header problem
Submitted: 2004-09-07 09:00 UTC Modified: 2004-09-07 09:23 UTC
From: r dot h dot zeelenberg at bravo-informatisering dot nl Assigned:
Status: Not a bug Package: *Graphics related
PHP Version: 4.3.9RC2 OS: redhat
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
29 - 29 = ?
Subscribe to this entry?

 [2004-09-07 09:00 UTC] r dot h dot zeelenberg at bravo-informatisering dot nl
Hi fellow-phpers..

I am having a strange problem...

I stripped my code to the basic to elimenate things..

What i've got...

php file get_test.php

This should place an image on the screen in verboden.php there should be some checks but i've wiped them out for clearification. So verboden.php is :


get_test.php is :




header("Content-type: image/jpg");
ImageJPEG ($current_file);

Attention! This works only!!! when i comment out the include for verboden.php
I think this is very strange... Firefox is saying there is something wrong with the image.. IE6 will try to download it.

Anyone idea's??



ps this one ruined my sunday ;(


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-07 09:23 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 03:01:30 2024 UTC