Re: [PHP] Executing a PHP file to write an html file

2001-04-01 Thread Matt Friedman
User" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, April 01, 2001 5:53 PM Subject: Re: [PHP] Executing a PHP file to write an html file > On Sun, 1 Apr 2001 03:06, PHP User wrote: > > Here is my problem. > > I have a file, static.php > > static.php writ

Re: [PHP] Executing a PHP file to write an html file

2001-04-01 Thread David Robley
On Sun, 1 Apr 2001 03:06, PHP User wrote: > Here is my problem. > I have a file, static.php > static.php writes to index.html by way of... > $filename = "/web/h16/docs/index.html"; > $fp = fopen("$filename","w"); > fwrite($fp, "\n"); > etc.. > > If I hit static.php from the command line, inde

[PHP] Executing a PHP file to write an html file

2001-03-31 Thread PHP User
Here is my problem. I have a file, static.php static.php writes to index.html by way of... $filename = "/web/h16/docs/index.html"; $fp = fopen("$filename","w"); fwrite($fp, "\n"); etc.. If I hit static.php from the command line, index.html gets written just fine. static.php does it's