Yes, I just want to edit a file in the textarea!
thank you.
""Jay Blanchard"" wrote in message
news:31454d514ff9a949b1fdfe294d5d1d80080...@ygex01wal.onecall.local...
[snip]
.
..
" . $contents . "";
?>
[/snip]
Try http://us3.php.net/manual/en/function.file-get-contents.php
[snip]
.
..
" . $contents . "";
?>
[/snip]
Try http://us3.php.net/manual/en/function.file-get-contents.php
" . $contents . "";
?>
I am unsure what you want to do here, display the menu in the textarea?
Or do you want to be able to edit menu.php in the textarea?
--
PHP Gene
Jean Lee wrote:
Could you explain what was my fault concerned about this case?
" . $contents . "";
?>
As Andrew pointed out, you need to use htmlspecialchars()
echo "" .htmlspecialchars($contents).
"";
The reason for that is because the text may contain html control
characters like <>&'" w
Thank you, Jay Blanchard and Andrew Ballard!!!
Could you explain what was my fault concerned about this case?
Thanks in advance!
My codes were
.
..
" . $contents . "";
?>
""Jay Blanchard"" wrote in message
news:31454d514ff9a949b1fdfe294d5d1d80080...@ygex01wal.onecall.lo
On Wed, Oct 28, 2009 at 10:39 AM, Jean Lee wrote:
> I want to use Textarea as the text-file viewer and editor of my homepage.
> But Textarea doesn't work exactly as i intended.
> In sometimes, TextArea doesn't show up
> and moreover the some parts of the file are displayed(rendered) in browser
> w
[snip]I want to use Textarea as the text-file viewer and editor of my
homepage. But Textarea doesn't work exactly as i intended.
In sometimes, TextArea doesn't show up and moreover the some parts of
the file are displayed(rendered) in browser without TextArea![/snip]
Not enough information to comp
I want to use Textarea as the text-file viewer and editor of my homepage.
But Textarea doesn't work exactly as i intended.
In sometimes, TextArea doesn't show up
and moreover the some parts of the file are displayed(rendered) in browser
without TextArea!
--
PHP General Mailing List (http://www
7 matches
Mail list logo