I looked through the forums searching for a solution to this problem, and have not found one...
The problem.
-- no mySQL.
-- site is on a server cluster.
-- file downloads are recorded in a text file.
-- No access to server or those who run the server.
The download counter is not accurate because there is a counter file for every server in cluster.
There shouldn't be, but there is. For some reason the cluster does not immediately copy over the file to every server in cluster.
So depending on which server you happened to be on, the download counter will give you a different value.
Question.
How do I record and display an accurate download log?
I have thought about using an external file on another website but:
1. I don't sure how to write to an external file, or pass a value to an external file within my script.
2. Not ideal because it is a high traffic site and I do not want to eat up bandwidth at another site.
I'm a beginner to intermediate level PHP programmer (been using for 6 months part time).
Thanks for any ideas or help.
Kevin.