Tim Burgan wrote:
I was trying to use file(), with some problems.. thank you for your
suggestions to use file_get_contents(). Perfect! You're all right, it
works really well.
I hope you didn't miss the mention of htmlentities(), also. If you did,
then you'll figure it out the first time you try
Thank you everyone,
I was trying to use file(), with some problems.. thank you for your
suggestions to use file_get_contents(). Perfect! You're all right, it
works really well.
Thanks
Tim
...
Tim Burgan.
Website & E-Commerce Developer
Web:
...
--
PHP General Mailing List (http://www.php.net/)
T
PROTECTED]>
> >To: "[php] PHP General List"
> >Subject: [PHP] HOWTO read PHP source code into a textarea
> >Date: Fri, 25 Feb 2005 10:26:36 +1030
> >MIME-Version: 1.0
> >Received: from lists.php.net ([216.92.131.4]) by mc10-f12.hotmail.com with
> &
Try php.net for flat file date basing. It should tell you how to read a line
and write to a new line.
From: Tim Burgan <[EMAIL PROTECTED]>
To: "[php] PHP General List"
Subject: [PHP] HOWTO read PHP source code into a textarea
Date: Fri, 25 Feb 2005 10:26:36 +1030
MIME-Versi
Tim Burgan wrote:
> I have a file 'nav.php', whose source code I want to load into the
> textarea on page 'aaa.php', so the source can be edited and changed.
>
> Is there a resource that I can read to help me do this?
The User Contributed notes in:
http://php.net/htmlentities
should prove enlighte
> I have a file 'nav.php', whose source code I want to load
> into the textarea on page 'aaa.php', so the source can be
> edited and changed.
>
> Is there a resource that I can read to help me do this?
If you want to render HTML into a textarea then I am afraid you are on a
hiding to nothing -
Hello,
I have a file 'nav.php', whose source code I want to load into the
textarea on page 'aaa.php', so the source can be edited and changed.
Is there a resource that I can read to help me do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
7 matches
Mail list logo