Displaying 1 result from an estimated 1 matches for "read_ary".
2003 Sep 19
1
feature request: maildirquota
...ier imapd supports this.
--snippet from quota usage plugin to squirrelmail--
function sqimap_get_quota ($imap_stream, $mailbox) {
if (check_quota_capability($imap_stream, "QUOTA")) {
fputs ($imap_stream, "a001 GETQUOTAROOT \"$mailbox\"\r\n");
$read_ary = sqimap_read_data ($imap_stream, 'a001', true, $result,
$message);
for ($i = 0; $i < count($read_ary); $i++) {
if (ereg("STORAGE", $read_ary[$i])) {
$tempusage = ereg_replace("^.*[(]STORAGE +(.*)[)].*$",
"\\1"...