Re: [PHP] Editing Files with PHP

2007-07-11 Thread Richard Lynch
On Tue, July 10, 2007 7:33 pm, David Wonderly wrote: I am trying to create a small script to open a file and edit it. However, when I open a file with PHP in it the PHP is stripped out. It open as if I was viewing the page source. How do I fix this? Here is the code I am using. form

[PHP] Editing Files with PHP

2007-07-10 Thread David Wonderly
I am trying to create a small script to open a file and edit it. However, when I open a file with PHP in it the PHP is stripped out. It open as if I was viewing the page source. How do I fix this? Here is the code I am using. form action=filewrite.php method=post textarea rows=15 cols=70

Re: [PHP] Editing Files with PHP

2007-07-10 Thread Chris
David Wonderly wrote: I am trying to create a small script to open a file and edit it. However, when I open a file with PHP in it the PHP is stripped out. It open as if I was viewing the page source. How do I fix this? Here is the code I am using. form action=filewrite.php method=post

Re: [PHP] Editing Files with PHP

2007-07-10 Thread jekillen
On Jul 10, 2007, at 5:33 PM, David Wonderly wrote: I am trying to create a small script to open a file and edit it. However, when I open a file with PHP in it the PHP is stripped out. It open as if I was viewing the page source. How do I fix this? Here is the code I am using. form