Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Why no change in fileatime?
July 14, 2004, 8:33 pm
rate this thread
mod date to update when writing to the file?
//increment counter value by 1
//write new value to viscounter file
if (flock($fp, LOCK_EX))
//if cd not get lock, don't count this hit
echo "counter = ".$newct." visit at ".fileatime($ctr);
// fileatime($ctr) stays the same...