[PHP] problem with getting data from NNTP server

2001-09-16 Thread Luboslav Gabal ml.
I have script for getting header of article from NNTP server using sockets: ? $conn = fsockopen("csnews.vslib.cz", 119); fputs($conn, "GROUP cz.comp.lang.php\r\n"); fputs($conn, "HEAD 3600\r\n"); while ($result = fgets($conn, 2048)) { if (substr($result, 0, 1) == ".") break; echo $result."br";

Re: [PHP] problem with getting data from NNTP server

2001-09-16 Thread Christopher William Wesley
On Sun, 16 Sep 2001, Luboslav Gabal ml. wrote: I have script for getting header of article from NNTP server using sockets: output have look so: From: Antonin Mohaupt [EMAIL PROTECTED] but it is only From: Antonin Mohaupt What's the problem ? I tried higher raise length of data (second