Original Post
let's say i want to make a counter of total visitor...and i don't have a database (let's say i can't use one, because it's in the spec). now i can use a file in PHP right? my problem is, won't there be a concurrency issue? like if both users access the file, whose current count is 32, then both of them would've updated the file to 33, when it should be 34 already (since there are 2 of them who viewed the site). does this happen in PHP? how to solve this? thanks!