#23484 [Asn->Bgs]: PEAR Net_NNTP-0.1's function getOverview($first,$last)

From: Date: Sun, 20 Jul 2003 15:50:27 +0000
Subject: #23484 [Asn->Bgs]: PEAR Net_NNTP-0.1's function getOverview($first,$last)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18465@lists.php.net to get a copy of this message
ID: 23484 Updated by: meebey@php.net Reported By: kevinwatt dot bbs at lls dot twbbs dot org -Status: Assigned +Status: Bogus Bug Type: PEAR related Operating System: Linux PHP Version: 4.3.1 Assigned To: kaltoft New Comment: according to the NNTP RFC the XROVER command is fine, see http://www.faqs.org/rfcs/rfc2980.html Previous Comments: ------------------------------------------------------------------------ [2003-05-04 20:58:44] kevinwatt dot bbs at lls dot twbbs dot org ======================================================= function getOverview($first,$last) { $format = $this->getOverviewFmt(); $this->command("XOVER $first-$last"); foreach($this->_getData() as $line) { $i=0; foreach(explode("\t",$line) as $line) { $message[$format[$i++]] = $line; } $messages[$message["Message-ID"]] = $message; } - $this->command("XROVER $first-$last"); - foreach($this->_getData() as $line) { - $i=0; - foreach(explode("\t",$line) as $line) { - $message[$format[$i++]] = $line; - } - $messages[$message["Message-ID"]] = $message; - } return $messages; } =========================================================== XROVER? It's an error function for NNTP service. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23484&edit=1

« previous php.pear.dev (#18465) next »