#23257 [Opn->Bgs]: imap_fetchstructure crash

From: Date: Wed, 23 Apr 2003 08:11:05 +0000
Subject: #23257 [Opn->Bgs]: imap_fetchstructure crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38140@lists.php.net to get a copy of this message
ID: 23257 Updated by: sniper@php.net Reported By: cwl_999 at hotmail dot com -Status: Open +Status: Bogus -Bug Type: Reproducible crash +Bug Type: IMAP related Operating System: NT4.0 SP6 PHP Version: 4.3.0 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is not a support forum and this is not a bug. Please ask elsewhere how to use the imap_* functions. Previous Comments: ------------------------------------------------------------------------ [2003-04-22 02:18:38] cwl_999 at hotmail dot com Tried the latest stable, same problem. To my understanding, deleting and expunging message 1 should move all messages upwards (to fill the empty space) allowing me to reapeat the operations with the new message 1. I've treid incrementing the message number, but this causes the routine to miss every other message. ------------------------------------------------------------------------ [2003-04-18 11:51:37] magnus@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-04-17 05:55:08] cwl_999 at hotmail dot com The following code causes PHP to freeze on the second imap_fetchstructure call even though there are more messages in the mailbox. <? phpinfo(); if ($mbox = @imap_open ("{10.5.0.4:110/pop3}INBOX", "asd", "asd")) { echo "LL"; imap_fetchstructure($mbox, 1); echo "KK"; imap_delete($mbox, 1); echo "JJ"; imap_expunge($mbox); echo "HH"; imap_fetchstructure($mbox, 1); echo "GG"; } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23257&edit=1

« previous php.bugs (#38140) next »