Commit graph

4 commits

Author SHA1 Message Date
dc932eded7
almost done, overengineered hit counter 2024-11-03 17:33:05 +01:00
2eda6e11a1 Add file locking to counter update process to ensure data integrity
- Implement file locking with `flock()` to synchronize access to the counter file.
- Use `ftruncate()` and `rewind()` to ensure correct file writes after incrementing the counter.
- Add detailed inline comments explaining each step and functionality in the script for better maintainability and clarity.
2024-11-03 13:11:44 +00:00
0d821e9b9d Add script.php 2024-07-06 16:13:13 +00:00
388a4dfeef Add README.md 2024-07-06 16:09:22 +00:00