#21439 [NEW]: output content after POST
| From: | cascade at mylifesucks dot de | Date: | Sun, 05 Jan 2003 20:21:01 +0000 |
| Subject: | #21439 [NEW]: output content after POST | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-29133@lists.php.net to get a copy of this message | ||
From: cascade@mylifesucks.de
Operating system: FreeBSD 4.7
PHP version: 4.3.0
PHP Bug Type: Unknown/Other Function
Bug description: output content after POST
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
--
Edit bug report at http://bugs.php.net/?id=21439&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21439&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21439&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21439&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21439&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21439&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21439&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21439&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21439&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21439&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21439&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21439&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21439&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21439&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21439&r=gnused