php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21707 long html text sources truncated
Submitted: 2003-01-17 00:43 UTC Modified: 2003-04-06 06:55 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:3 (75.0%)
From: jtwolf at hotmail dot com Assigned:
Status: No Feedback Package: Output Control
PHP Version: 4.3.0 OS: windows xp
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jtwolf at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-01-17 00:43 UTC] jtwolf at hotmail dot com
Apache 2.0.43 running on Windows XP.  Reproduced with PHP 4.3.0 running as CGI and as module.

present with output_buffering = off
not present with output_buffering = on

A 10kb(approximately) or larger html/text file with a .php extension is truncated if output buffering is set to off.  Turn output buffering on and the entire file is sent/displayed properly 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-17 00:51 UTC] philip@php.net
Truncated to how many characters and is it a consistent number?
 [2003-01-17 01:22 UTC] jtwolf at hotmail dot com
For example:
174412 Chars --> 7957 Chars
82828 Chars  --> 23906 Chars

not consistent, running the 82828 char file a second time gave me 43596 chars
 [2003-01-19 11:40 UTC] bouke at boukemedia dot nl
i'm having the same problems, but i'm running php as an module instead of cgi module.

Apache 2.0.43 on winXP 
PHP 4.2.4-dev

Setting output_buffering to On fixed this bug.
 [2003-01-19 12:43 UTC] moriyoshi@php.net
Which MPM model do you use in Apache2? (e.g. worker, prefork)
I managed to reproduce this with "worker" model.

 [2003-01-19 15:04 UTC] moriyoshi@php.net
Oops, my previous comment is totally off the point. Please ignore.

 [2003-04-06 06:55 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC