Hello
I have post in french section but to maximize the chances of response I post on English/American server too ![]()
My exactly URL is :" http://10.119.26.195/1?Tension1=22"
I just cleen my Arduino code and it's giving this :
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = {
 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(10,119,26,195);
String readString;
EthernetServer server(80);
float Envoi ;
void setup() {
 pinMode(5, OUTPUT);
 Serial.begin(9600);
 while (!Serial) {
  ;
 }
 Ethernet.begin(mac, ip);
 server.begin();
 Serial.print("server is at ");
 Serial.println(Ethernet.localIP());
}
void loop() {
 EthernetClient client = server.available();
 if (client) {
  while (client.connected()) {
   if (client.available()) {
    char c = client.read();
    if (readString.length() < 100) {
     readString += c;
    }
    Serial.println("new client");
    boolean currentLineIsBlank = true;
    while (client.connected()) {
     if (client.available()) {
      char c = client.read();
      Serial.write(c);
      if (c == '\n' && currentLineIsBlank) {
       client.println("HTTP/1.1 200 OK");
       client.println("Content-Type: text/html");
       client.println("Connection: close"); // the connection will be closed after completion of the response
       client.println();
       client.println("<!DOCTYPE HTML>");
       client.println("<html>");
       client.println("<form name=\"mon-formulaire1\" action=\"1\" method=\"get\">");
       client.println("<textarea name=\"Tension1\" rows=\"2\" cols=\"4\"></textarea>");
       client.println("
");
       client.println("<input type=\"submit\" value=\"Envoyer\" />");
       client.println("<input type=\"reset\" value=\"Annuler\" />");
       client.println("</form>");
       client.println("
");
       client.println("</html>");
       break;
      }
      if (c == '\n') {
       currentLineIsBlank = true;
      }
      else if (c != '\r') {
       currentLineIsBlank = false;
      }
     }
    }
    delay(1);
    client.stop();
    Serial.println("affichage de la tension");
    if(readString.indexOf("Tension1") >0) {
     Serial.println("Tension 1 lue");
     int pos = readString.indexOf("Tension1");
     Serial.println(pos);
    }
    Serial.println("client disonnected");
   }
  }
 }
}
I hope is better and sorry for my knowledge of starting ![]()
Cordially Aedriar