Your Ad Here

PHP Directory : WorldofPHP.NET >> Tips and Tutorials >> Content Management


Reading & Updating Content of a file



Hits Today : 1 | Total Hits : 74
Visit This URL | Add to Favourites | Report Error | Write Review |


This script shows an example of a counter being incremented every time the page is loaded. This is achieved by reading a file line by line using the fgets function and exctracting the 2 fields (one for the date one for the counter). The file is then being updated. There is a live example.

Reading & Updating Content of a file PHP Resource Information

Resource ID : 1277
PHP Version : PHP 5
Software Version : 1.0.0
Price : $ 0
Today Hits : 1
Total Hits : 74
Platform : Linux,Windows,FreeBSD,Mac OSX,Sun Solaris
Resource Added : Nov 29,2007

Resource Rating

Average Member Rating :
Number of Ratings : 0

Average Visitor Rating :
Number of Ratings : 0
Visitor Rate:  


Reading & Updating Content of a file Reviews

You can be the FIRST one to write review for Reading & Updating Content of a file



Other PHP Resources by this Member :