php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10376 abnormal program termination on imap_body($box,0)
Submitted: 2001-04-18 08:32 UTC Modified: 2001-05-03 15:46 UTC
From: akul at otamedia dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.4pl1 OS: Windows 98 SE
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: akul at otamedia dot com
New email:
PHP Version: OS:

 

 [2001-04-18 08:32 UTC] akul at otamedia dot com
        if(!$box=imap_open('{localhost/pop3:110}INBOX','mybox','mypassword'))
		die('Can\'t Open box!');

        // Here is abnormal program termination
        // I think returning of NULL is better solution
        // imap_header is Ok (warning is generated)
	$B=imap_body($box,0);

	imap_close($box);

for PHP.INI see the bug #9819

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-03 15:46 UTC] chagenbu@php.net
Fixed in 4.0.6-cvs.
 [2004-05-04 03:30 UTC] Pether123 at yahoo dot com
How DO i fix this?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC