I'm trying to make a web countdown timer. I use a .txt file where I can put deadlines in. The webapp reads this, and forms the countdowns on the screen.
My problem is the following:
The plan is that I can change deadlines in the txt file during the time that the app is working. This is possible, using an auto refresh on my page. But this gives a flicker with every refresh.
I was now wondering if there's an other, and better way to do this. I was thinking to execute the read function every second, instead of refreshing, but I don't think it can work like this, because it's in PHP.