count
()require_once 'Net/NNTP/Client.php';
Net_NNTP_Client::count
( void
)Retrieves the number of articles in the current newsgroup.
integer
- number of articles in newsgroup
since 0.3
This function can not be called statically.
Using count()
<?php
...
$nntp->selectGroup("php.pear.dev");
echo "number of articles: ".$nntp->count();
?>