Ok. What I have is a script that edits files. First I type in the filename, then it grabs the content or source, and displays it in a textarea. From there, I can edit the coding and click submit, and it saves it.
My problem, is that if the page I am trying to edit has <form> html in it, or most likely </textarea> somewhere in it, it will close off my textarea, and actually run the html.
I've got to find a way to keep all the html in the textarea without it letting </textarea> from closing it.
I am thinking of ereg_replace or whatever, but I want to know if there is a simpler way.