imap_gt_quota is not defined ?
| From: | Roger Thomas | Date: | Thu, 29 Aug 2002 02:26:17 +0000 |
| Subject: | imap_gt_quota is not defined ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114445@lists.php.net to get a copy of this message | ||
php-4.2.2
Linux rh7.1
I run this on my browser
<?
$mbox = imap_open("{imap.domain.com}","roger","roger123",OP_HALFOPEN)
or die("can't connect: ".imap_last_error());
$quota_value = imap_get_quota($mbox, "user.roger");
if(is_array($quota_value)) {
print "Usage level is: " . $quota_value['usage'];
print "Limit level is: " . $quota_value['limit'];
}
imap_close($mbox);
?>
... and I get:
Fatal error: Call to undefined function: imap_get_quota() in
/home/httpd/vhost/home/horde/q.php on line 5
I quickly look inside php-4.2.2/ext/imap/php_imap.c and can see that the
function name is there. What's wrong with *me* ?
--
roger
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com