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
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:
MUST BE VALID
Solve the problem:
15 + 33 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Thu May 26 21:05:44 2022 UTC