|
Posted by test on 11/20/86 11:44
On Fri, 7 Apr 2006 10:30:26 +0000 (UTC), Tim Van Wassenhove
wrote:
> On 2006-04-07, test <test@test.test> wrote:
>> I am using fgets() to recieve an article from a NNTP server.
>> The articles end with:
>> or in other words: <crlf>.<crlf>
>> while ($t != ".") { // this doesn't work, nor does ".\n"
>
> So you only tested with . and .<lf>
> What happens if you try to read until ".\r\n"?
> (and the previous line was "\r\n")
Upon futher testing, ".\r\n" indeed works :)
Thanks, Tim.
[Back to original message]
|