hello. i have an arduino mega and a sensor on it. i want to take the last measurement(integer) and upload it on a server (for example www.arduinomeasument.com/php). i have two options. lets say that my integer is “x”. the first option is to add this x variable at the end of the url i wrote before and by running the programm this url will be clicked and it automatically saves it to the database. the other option is to upload a text file with all measuments with ftp. can anybody help me?
The first one is preferred by most Arduino users, but I can't get it working yet, because I don't understand the database. I wrote my first PHP page today :grin:
You can try a web service like ThingSpeak to upload your data. After that, you can try to do the same with your own PHP code.