php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21439 output content after POST
Submitted: 2003-01-05 14:21 UTC Modified: 2003-01-05 16:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: cascade at mylifesucks dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.0 OS: FreeBSD 4.7
Private report: No CVE-ID: None
 [2003-01-05 14:21 UTC] cascade at mylifesucks dot de
Hi,

I am using PHP4.3.0 on FreeBSD4.7 which works as fine as previous versions, but today I made up a little script which gets some data, handles it and then gives back an gif image. I know that gif is not free and not included in gd, but the fact that it is a gif-file does not matter.
Whenever I post data to the php-script i get data back, even as much as I expected, but the only Browser that displays the image is Internet Explorer, I tried Opera, Galeon, Links, Netscape (some for windows, linux and freebsd) but only IE did the job. If I change the form to do a "get" and not a "post" it works, but then I am not able to upload a file with the form, so i need post...
the only lines that produce any output inside the script are:

header("Content-Type: image/gif");
if (file_exists($movie_file)) @readfile ($movie_file);

Since I found some people complainign about pdf-files to be broken when using "post" and the same structure for the output as I did, and I never found a solution, I think this could be a bug, if not, beat me ;)

Thanks for any response,
Claas Rathje

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-05 16:21 UTC] cascade at mylifesucks dot de
Ok, slap me... Now I think the problem is related to Opera itself...
Fixed some code and now it works with IE and Mozilla under win2k, Opera6 and Netscape4.79 unter FreeBSD...

Delete this post if you like, mail me if you have any hint for Opera7 and this problem ;)

Claas Rathje
 [2003-01-05 16:22 UTC] derick@php.net
No clue about Operas though, I'm not a fan of Rossini :)

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC