Before I was sending my data to SQL, I used to upload the dayfile.txt, and most of the scripts I used would read that file. One of those scripts, was the dayfile.php - I had to stop using it, due to not being able to find an SQL version. laulau has kindly supplied me with an SQL version, which was working very well up until yesterday morning.
http://www.warehamwx.co.uk/cumulus/sdayfile.php
It suddenly stopped showing the results, despite the SQL data being fetched, which you can see here: http://www.warehamwx.co.uk/cumulus/util ... 12&yy=2016
On a couple of occasions, I have refreshed the page, and it has suddenly appeared, then I've refreshed again, and then it all disappeared again. I wondered if something had changed server-side, so i opened up a ticket with my hosting, but they've said that nothing has changed. It has left me completely stumped!
The only thing I can think of, could it be to do with this line?
Code: Select all
data = json_decode(file_get_contents('http://www.warehamwx.co.uk/cumulus/utils/historicDfile.php?mm='.$month.'&yy='.$year), true);
I'm all out of ideas!
Kind regards.