Reading & Updating Content of a file

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.

 
Visit Site:
Reading & Updating Content of a file
Version:
1.0.0 
Filed in:
PHP / Tutorials & Tips / Content Management
Platforms:
LinuxMicrosoft WindowsUnixApple Mac OS XSun Solaris 
Databases:
No Database 
Date Added:
May 17, 2007 
Last Updated:
Jun 22, 2009 

License and Pricing Information

Other

Price: $0.00 USD

Publisher site visits: 993
Average rating: 4.33
Total ratings: 3

Be the first to review this listing!

Publisher Info

Author:
linkstraffic 
Other listings by this publisher

Share this Listing