RE: [PHP-WIN] File question...
| From: | HKG) | Date: | Mon, 24 Dec 2001 19:20:54 +0000 |
| Subject: | RE: [PHP-WIN] File question... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11110@lists.php.net to get a copy of this message | ||
From: Anthony Ritter
>Happy holidays everyone.
>
>Right now, if I want to update a fishing report using straight html I have
>to type in the data in a .html page and *republish* that information to the
>server.
>
>Every time there is an update - say once a day - that information has to be
>republished to the server.
>
>This is my question:
>
>Using PHP, could I type in the updated fishing report in a
>simple text filecalled: fishingreport.txt
>and then... save that file to the server every time there is an update
where
>a php script (or function) could be called to read or write to that file
>(fishingreport.txt) without the need of publishing the file every time
there
>was an update.
>
>Any advice or URL's would be greatly appreciated.
http://www.php.net/manual/en/function.fopen.php
Merry x-mass and happy new year....