note 50949 deleted from function.file-get-contents by nlopess

From: Date: Mon, 14 Mar 2005 19:02:02 +0000
Subject: note 50949 deleted from function.file-get-contents by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-86434@lists.php.net to get a copy of this message
Note Submitter: flobi at flobi dot com ---- About Daniellehr[-at-]gmx[-dot-]de's post... You would need to use implode("\n", file($filename)) to get the functionality of file_get_contents, it appears that the \n was missing. Funny, I was using explode("\n", file_get_contents($filename)) for a while before I realized that file() returned the same thing, LOL!

« previous php.notes (#86434) next »