Re: File question...

From: Date: Wed, 26 Dec 2001 06:44:08 +0000
Subject: Re: File question...
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-11125@lists.php.net to get a copy of this message
> From: Anthony Ritter > > >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 A variation on this that I've seen (with Perl I think though) was to mark a section of an HTML file with a specific comment like "<!--myfishystuffgoeshere-->Fishy fishy fishy fish<!--myfishystuffgoeshere-->". Then you or the user could interactively edit the text from another PHP page, retreiving, displaying, and replacing the text between the comments. - Steve Yates - SRT Enterprises - My hard disk is full! Maybe I'll try this message section thing. / Taglines by Taglinator - www.srtware.com /

« previous php.windows (#11125) next »