Re: [PHP] HOWTO read PHP source code into a textarea

2005-02-26 Thread John Holmes
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

Re: [PHP] HOWTO read PHP source code into a textarea

2005-02-26 Thread Tim Burgan
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

Re: [PHP] HOWTO read PHP source code into a textarea

2005-02-25 Thread Yann Larrivee
Hello More precisy see http://ca.php.net/manual/en/ref.filesystem.php Cheers, Yann On Friday 25 February 2005 18:56, Tyler Replogle wrote: > 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: "

RE: [PHP] HOWTO read PHP source code into a textarea

2005-02-25 Thread Tyler Replogle
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-Version: 1.0 Received: from

Re: [PHP] HOWTO read PHP source code into a textarea

2005-02-25 Thread Richard Lynch
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

RE: [PHP] HOWTO read PHP source code into a textarea

2005-02-25 Thread Mikey
> 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 -