|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10499 User abort causes page to be dumped into error_log
Submitted: 2001-04-25 17:06 UTC Modified: 2001-08-19 04:16 UTC
From: dbenson at mancala dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.0.4pl1 OS: Linux / Solaris
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 - 24 = ?
Subscribe to this entry?

 [2001-04-25 17:06 UTC] dbenson at mancala dot com
With output buffering enabled, if the user presses the stop button in their web client on a page which is executing slowly, when the code completes the page results are written to the apache error_log.

Run the included script and hit the stop button before it completes. The page output (numbers) will be written to the error_log.

ob_start ();
for ($i = 0; $i < 50000; $i++) {
    echo "$i ";

Happens on both Linux (RH7) and Solaris (2.7)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-19 04:16 UTC]
This is fixed. Try PHP 4.0.6.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 07:01:29 2024 UTC