agentaustin
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by agentaustin
-
-
Station uploads that file every 48 seconds, but currently the pages only get updated every 5 minutes to reduce FTP traffic.
-
Only issue I see is that every time the page is loaded it writes a new file, so with the volume of traffic I get I'm going to have a ton of files.
-
So here is what I have going.
#1 - My weather station software processes a file and enters variables and then uploads it as a php file.
#2 - Currently the station also just uploads every file to the site and enters the data in the html, but I would rather have it only upload this one file and the other pages grab data from it and print it out. I have a few php scrips in there to preform certain functions (if temp <= 32 it echos that data in blue and so on) but would rather make most of it php so I have less files being uploaded every 5 minutes.
This is what the station sends to the web, but I have no idea how to get the other pages to read it and input the variables from it.
[attachment deleted by admin]
Reading variables from another file
in PHP Coding Help
Posted
That is limitations of the station, it can only process files and upload via FTP.