|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: r dot h dot zeelenberg at bravo-informatisering dot nl
New email:
PHP Version: OS:


 [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-2020 The PHP Group
All rights reserved.
Last updated: Sat Jul 11 18:01:24 2020 UTC