|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 00:01:31 2024 UTC