<html>
<body>
<input type="text" name="dp">
</body>
</html>
I wanna get the value in "dp" with my ESP8266 module, that is possible?
Thank you in advance. I appreciate it your help
This is my code:
//=======================================
#include <ESP8266WiFi.h>
const char* ssid = "user";
const char* pass = "passwd";
WiFiClient client;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Connecting...");
WiFi.begin(ssid,pass);
while(WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.print(".");
}
Serial.print("Connected to: ");
Serial.println(ssid);
Serial.print("IP: ");
Serial.println(WiFi.localIP());
}
void loop() {
// put your main code here, to run repeatedly:
if(client.connect("10.0.0.8/a.php",80) > 0) { //doesn't work
Serial.println("Connected with 10.0.0.8");
}
else {
Serial.print("Connection Error");
}
delay(1000);
}