I am trying to have my arduino run a web server but also post a variable from time to time. I have the following code:
client.println("HTTP/1.1 200 OK");
client.println("Host: joeybabcock.me"); //
client.print("GET /writetemplocalserv.php?t0=");
client.println("Content-Type: text/html");
client.println(sensorValue);
client.println("Connnection: close");
and the whole code here(It's quite a bit so only look through if you have to.): http://pastebin.com/TXPccYs3 This does not post the variable. if visited in the web browser to the exact same url, it does, however, work.