note 37793 added to function.fgetcsv

From: Date: Thu, 27 Nov 2003 10:24:07 +0000
Subject: note 37793 added to function.fgetcsv
Groups: php.notes 
Request: Send a blank email to php-notes+get-61023@lists.php.net to get a copy of this message
For all those people struggling with Macintosh conversions, since PHP 4.3 there is a new runtime setting available: auto_detect_line_endings boolean When turned on, PHP will examine the data read by fgets() and file() to see if it is using Unix, MS-Dos or Macintosh line-ending conventions. This enables PHP to interoperate with Macintosh systems, but defaults to Off, as there is a very small performance penalty when detecting the EOL conventions for the first line, and also because people using carriage-returns as item separators under Unix systems would experience non-backwards-compatible behaviour. ---- Manual Page -- http://www.php.net/manual/en/function.fgetcsv.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37793 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37793&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37793&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61023) next »