note 23251 deleted from function.fgets by dams

From: Date: Sat, 27 Jul 2002 23:21:50 +0000
Subject: note 23251 deleted from function.fgets by dams
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-33735@lists.php.net to get a copy of this message
In reply to the guy saying fgets() does not work for CR when there's no LF immediately after. You sound like a ticked of Windows programmer. The fact is that UNIX has LF as the line terminator and Windows has CRLF. This means that fgets() is behaving correctly!

« previous php.notes (#33735) next »