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. > > > > i

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. Filewri

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. include actually processes the php file, i