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;
?>
</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).

Anyone have an idea on how to do this, or a pointer on what to put into
GOOGLE to get back what I'm looking for.

Thanks,
Jeremy



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to