I'm not really sure which forum this belongs in, but please bear with me as I try to explain what I am looking to do.
I have a PHP web site designed to display status updates from several dozen computers around the world. Up until now an administrator updates a single .csv file and uploads it to the site, after which PHP parses and displays the information. This is obvious very cumbersome, and has had too many inaccuracies due to the the human element. Therefore, I am looking to automate the update of the csv file directly from each of the computers.
I have designed a C++ program that runs locally on each machine, and will collect and format the respective line that will be updated in the .csv. Unfortunately this all happens locally, and still requires a manual upload. With that said, I am looking for any suggestions and help with being able to automate this process.
My current thought process is to remotely open the .csv file on the web server and update it directly from my C++ app. Or possible download, update, then re-upload. Or maybe PHP (with other technologies) provides the functionality to be able to take a string and update a text file on the server. I may be way off base here, which is probably the case because I wouldn't know how to accomplish these ideas anyway.
With that said, I am open to any and all suggestions to being able to do this. Obviously the simpler the better, but I am really stuck and looking for some thoughts to accomplishing this.
Thanks in advance,
Jim