note 9441 rejected and deleted from rewind by jmcastagnetto

From: Date: Fri, 03 Nov 2000 23:51:24 +0000
Subject: note 9441 rejected and deleted from rewind by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-7369@lists.php.net to get a copy of this message
Why cant I use rewind when I want to write at the beginning of a file.. $fp = fopen (basename($PHP_SELF) . ".comment", "a"); rewind ($fp); fwrite ($fp , $message); fclose ($fp); doesnt work... the message will still be at the end...

« previous php.notes (#7369) next »