[thelist] Edit textfiles in textareas AGAIN

Jay Blanchard jay.blanchard at niicommunications.com
Mon Sep 29 07:39:07 CDT 2003


[snip]
><textarea><?php echo htmlspecialchars($file_contents); ?></textarea>

In the last day or so, we figured out how to read a text fie and put it
into 
a textarea.

Now, I need to know how to save it after making editing changes to the
file.
[/snip]

Once the textarea has been updated you can use fopen() to write a new
file, or overwrite the lod one. See http://www.php.net/fopen


More information about the thelist mailing list