#18627 [Opn->Fbk]: Broken imap_get_quota() with Cyrus
| From: | kalowsky@php.net | Date: | Mon, 29 Jul 2002 18:15:02 +0000 |
| Subject: | #18627 [Opn->Fbk]: Broken imap_get_quota() with Cyrus | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15511@lists.php.net to get a copy of this message | ||
ID: 18627
Updated by: kalowsky@php.net
Reported By: rudib@email.si
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: Linux
PHP Version: 4CVS-2002-07-29
New Comment:
what do you mean it's filled with "garbage"?
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 13:43:02] rudib@email.si
imap_get_quota() returns an array with key 'STORAGE'. However,
"garbage" follows in the value of the key.
Sample script:
--
<?php
$imap = imap_open('{localhost:143}', 'cyrus', 'aa');
$quota = imap_get_quota($imap, 'user.test');
var_dump($quota);
if (isset($quota['STORAGE'])) {
print 'set!';
}
?>
--
"Sample" output:
array(1) { ["STORAGEAMESPACE"]=> array(2) { ["usage"]=> int(1)
["limit"]=> int(10000) } }
Tho, sometimes, "STORAGE" is correctly set. :)
I know that this has been mentioned in the CVS logs, but I'd really
like a fix for this. ;)
Thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18627&edit=1