ID: 40087 User updated by: scalero at datadec dot es Reported By: scalero at datadec dot es Status: Assigned Bug Type: IMAP related Operating System: Red Hat Enterprise Linux AS 4 PHP Version: 5.2.1, 4.4.4 Assigned To: iliaa New Comment:
Is there any progress about this bug? Thanks. Sebastián Calero. Previous Comments: ------------------------------------------------------------------------ [2007-09-29 13:05:29] cxv at bmn dot jb http://www.meta-fx.com forex ÝÇÑÓ ------------------------------------------------------------------------ [2007-01-12 08:36:32] scalero at datadec dot es <?php // I use Cyrus 2.2.10 $imapconn = imap_open("{localhost:143}INBOX","testuser","testuser"); $mailboxes = imap_getmailboxes($imapconn, "{localhost:143/imap/notls}", "%"); $errors = imap_errors(); var_dump($mailboxes); var_dump($errors); ?> And this is the result: array(4) { [0]=> object(stdClass)#1 (3) { ["name"]=> string(32) "{localhost:1143/imap/notls}INBOX" ["attributes"]=> int(1) ["delimiter"]=> string(1) "." } [1]=> object(stdClass)#2 (3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(64) ["delimiter"]=> string(1) "." } [2]=> object(stdClass)#3 (3) { ["name"]=> string(38) "{localhost:1143/imap/notls}test second" ["attributes"]=> int(32) ["delimiter"]=> string(1) "." } [3]=> object(stdClass)#4 (3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(34) ["delimiter"]=> string(1) "." } } bool(false) Like you can see, the 'test' folder appears two times and the first time it shows a 64 attributes value, but the test folder has the childrens: "test.aaa" and "test.bbb" ------------------------------------------------------------------------ [2007-01-11 17:09:13] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2007-01-11 17:04:18] scalero at datadec dot es It don't work, now with: PHP Version: 5.2.1RC3-dev (latest) c-client: imap-2006d (latest) it reproduces the same behavior. The 'test' folder appears without its children folders. Greetings. ------------------------------------------------------------------------ [2007-01-11 12:03:52] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40087 -- Edit this bug report at http://bugs.php.net/?id=40087&edit=1