#10376 [Com]: abnormal program termination on imap_body($box,0)
| From: | Pether123 at yahoo dot com | Date: | Tue, 04 May 2004 01:30:44 +0000 |
| Subject: | #10376 [Com]: abnormal program termination on imap_body($box,0) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59182@lists.php.net to get a copy of this message | ||
ID: 10376
Comment by: Pether123 at yahoo dot com
Reported By: akul at otamedia dot com
Status: Closed
Bug Type: IMAP related
Operating System: Windows 98 SE
PHP Version: 4.0.4pl1
New Comment:
How DO i fix this?
Previous Comments:
------------------------------------------------------------------------
[2001-05-03 15:46:46] chagenbu@php.net
Fixed in 4.0.6-cvs.
------------------------------------------------------------------------
[2001-04-18 08:32:17] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10376&edit=1