I thought about doing it this way. which to me sounds like a "polling" system. Things that crop to mind are:
What heppens when its not loggin? It still means it needs to keep polling the php page to see if any flags have been changed, surely this causes fustrating delays (between me setting flag and waiting for arduinos next connection) and massive waste on bandwidth?
Example bad scenario: i decide i dont need it logging for 3 months, but the arduino still has to connect to php which has to query the DB, return & check data, dispose of.... every 1 - 2mins for 3 months?
Surely there must be a more efficient way?
As a server it would sit there doing nothing, waiting for a connection to come in...
Thanks
Andy