note 115500 added to function.file

From: Date: Tue, 05 Aug 2014 16:38:22 +0000
Subject: note 115500 added to function.file
Groups: php.notes 
Request: Send a blank email to php-notes+get-200123@lists.php.net to get a copy of this message
If the file you are reading is in CSV format do not use file(), use fgetcsv(). file() will split the file by each newline that it finds, even newlines that appear within a field (i.e. within quotations). ---- Server IP: 64.71.164.2 Probable Submitter: 65.64.165.194 ---- Manual Page -- http://php.net/manual/en/function.file.php Edit -- https://master.php.net/note/edit/115500 Del: integrated -- https://master.php.net/note/delete/115500/integrated Del: useless -- https://master.php.net/note/delete/115500/useless Del: bad code -- https://master.php.net/note/delete/115500/bad+code Del: spam -- https://master.php.net/note/delete/115500/spam Del: non-english -- https://master.php.net/note/delete/115500/non-english Del: in docs -- https://master.php.net/note/delete/115500/in+docs Del: other reasons-- https://master.php.net/note/delete/115500 Reject -- https://master.php.net/note/reject/115500 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200123) next »