note 5114 deleted from rewind by ronabop

From: Date: Mon, 02 Oct 2000 11:12:03 +0000
Subject: note 5114 deleted from rewind by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5922@lists.php.net to get a copy of this message
This is what I did to open a file and add to the end, it was the only way that would work for me.. <PRE> $fp0 = fopen("file_to_open.txt", "r"); fclose($fp0); //Close the file fp0 $fp1 = fopen("same_file_as_above.txt", "w"); fwrite($fp1, "Text To Add"); fclose($fp1); //Close the file fp1 </PRE> Hope I helped a little bit.

« previous php.notes (#5922) next »