php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12315 Buffering crashes PHP when there is an error with mail function
Submitted: 2001-07-23 07:42 UTC Modified: 2002-01-02 13:59 UTC
From: carlos dot a dot viana at pop3si dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.0.6 OS: Win ME
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: carlos dot a dot viana at pop3si dot com
New email:
PHP Version: OS:

 

 [2001-07-23 07:42 UTC] carlos dot a dot viana at pop3si dot com
I don't have an email server in my development computer, so when I turn output buffering on with "ob_start('ob_gzhandler')" and try to send an email with "mail (string to, string subject, string message) or die('Error message')", PHP crashes. This doesn't happen in every script ans doesn't happen at all, when I remove the "or die('Error message')" condition.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 04:33 UTC] yohgaki@php.net
This report seems to be duplicate.
Does this happen with 4.1.0?
 [2002-01-02 13:59 UTC] lobbin@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 22:03:37 2021 UTC