note 55526 deleted from function.fopen by danbrown

From: Date: Mon, 08 Jun 2009 23:41:06 +0000
Subject: note 55526 deleted from function.fopen by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156564@lists.php.net to get a copy of this message
Note Submitter: zachajc at yahoo dot com (Zealot) ---- When designing a few flatfile databases and admin panels, I stumbled upon an interesting thing. If a file has been generated into a page or variable via the readfile or include methods (did not try require), an ereg or preg replace to replace \n with <br> does not detect any \n in the file. However, when attempting the same thing with fopen, fread, it works perfectly.

« previous php.notes (#156564) next »