php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23484 PEAR Net_NNTP-0.1's function getOverview($first,$last)
Submitted: 2003-05-04 20:58 UTC Modified: 2003-07-20 10:50 UTC
From: kevinwatt dot bbs at lls dot twbbs dot org Assigned: kaltoft (profile)
Status: Not a bug Package: PEAR related
PHP Version: 4.3.1 OS: Linux
Private report: No CVE-ID: None
 [2003-05-04 20:58 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-20 10:50 UTC] meebey@php.net
according to the NNTP RFC the XROVER command is fine, see http://www.faqs.org/rfcs/rfc2980.html

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 23:01:26 2024 UTC