This is driving me nuts. I know it can be done, cuz I've seen it done before, but I can't figure it out.
I would like to have a php file that allows me to edit an HTML/PHP file thru my browser.
Currently I have something that looks like:
<TextArea> <?PHP $filename = "/usr/local/something.txt"; $handle = fopen ($filename, "r"); $contents = fread ($handle, filesize ($filename)); fclose ($handle); print $contents;
print htmlentities($contents);
?> </TextArea>
This works fine unless the page that I'm editing has a TextArea tag in it, witch throws everything off. I know that this is more of an HTML question, but I couldn't find the answer in my quick searches (too many pages to go thru).
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php