I am creating a file manager for a website. I am using php to open, write, and close the file. The problem that I am having is when you have a file that has some of the same code of the fopen file. For instance.. I have lets say index.php that I want to edit. on fopen.php (which opens and displays the contents of the file) I have a <textarea>Contents of file here</textarea>. The contents of file have a <textarea></textarea> in it. it starts to display everything untill the </textarea>. once it gets to there it puts everything outside of the textarea box. If you understand what I am talking about and can help that would be great.....
Mike Clubb