[thelist] Edit textfiles in textareas AGAIN

Ken Moore cor412 at hotmail.com
Sat Sep 27 20:30:48 CDT 2003


Hi all,

>From: Simon Willison <cs1spw at bath.ac.uk>
>In fact, that could lead to problems if the text file you are editing 
>contains HTML - in particular a </textarea> tag. To avoid those problems, 
>do this:
>
><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.

Again, TIA,

Ken

_________________________________________________________________
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com



More information about the thelist mailing list