note 11724 added to fread

From: Date: Sun, 04 Mar 2001 11:41:36 +0000
Subject: note 11724 added to fread
Groups: php.notes 
Request: Send a blank email to php-notes+get-11838@lists.php.net to get a copy of this message
Regarding above note from aidanishere@hotmail.com. If I understand you correctly, you'll need to do an append using the "a" argument with fopen. For example $fp=fopen($file_name,"a"); fwrite($fp, $line_to_write); I wrote a script that does what I thought you needed. Find it at http://www.gemini1consulting.com/tekhelp/append_text.php Refreshing this script will append an End of File marker and a timestamp to the textfile event1.txt. If you have trouble running this script locally, its probably a permissions issue. - gemini1 http://www.php.net/manual/en/function.fread.php

« previous php.notes (#11838) next »