i have a w5100 shield and mega2560 and i want send a byte or text to a php page on my host
now i dont know have do this.
what metod i need to do this?
i am not a new developer but i'm new in arduino
sorry for bad english
i have a w5100 shield and mega2560 and i want send a byte or text to a php page on my host
now i dont know have do this.
what metod i need to do this?
i am not a new developer but i'm new in arduino
sorry for bad english
now i dont know have do this.
You need to make a GET request. I'm willing to bet that you can guess whether that is something done by a server or by a client.
Load the appropriate example, and make the needed changes.
i can make the needed changes.
if you send a appropriate example
thanks for help
if you send a appropriate example
The Ethernet library comes with examples, for server and client roles. Which one do you think you need to use as a starting point?
thanks
i review arduino example and find this code
client.println("GET /search?q=arduino HTTP/1.1");
client.println("Host: www.google.com");
it worked good
but i want send a byte or text.
not search in google how can i post data to my php page?