note 59340 deleted from function.stream-filter-append by nlopess

From: Date: Sat, 03 Dec 2005 19:14:57 +0000
Subject: note 59340 deleted from function.stream-filter-append by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99529@lists.php.net to get a copy of this message
Note Submitter: cuervo_4762 at NOSPAM dot yahoo dot com ---- The example on this page has an error. The first real line $fp = fopen("test.txt", "rw"); is incorrect it should be $fp = fopen("test.txt", "w+"); this is becuase the only fopen modes that can be appended are the "t" and "r" like so( an example ) $fp = fopen("test.binary", "rb") or $fp = fopen("test.txt", "rt") kiko the janitor

« previous php.notes (#99529) next »