this not work why ? anyone tell me why don't make a GET request ?

    #include <Ethernet.h>
    #include <SPI.h>
     
    int sensorPin  = A0;    // select the input pin for the potentiometer
    int sensorPin2 = A1;      // select the pin for the LED
    int sensorValue = 0;  // variable to store the value coming from the sensor
    int sensorValue2 = 0;
    char buffer[1800];
     
     
    byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
    byte ip[] = { 192, 168, 1, 177 };
    byte server[] = { 192, 168, 1, 185 };  
    // 212.48.8.140
     
     
     
    Client client(server, 80);
     
     
    void setup()
    {
     
    Serial.begin(9600);
     
    \
    delay(1000);
    }
     
     
     
     
     
    void loop()
     
     {
     
       
       
       // sprintf(buffer, "GET /arduino/connet.php?nome=PROVA&val1=%d&val2=%d HTTP/1.0",sensorValue ,sensorValue2);
       
       
       if (client.connected()==false) {
         
       Ethernet.begin(mac, ip);
       client.connect();
       client.println("connected");
       sensorValue  = analogRead(sensorPin);    
       sensorValue2 = analogRead(sensorPin2);
       sprintf(buffer, "GET /arduino/connet.php?nome=PROVA&codice=98738&val1=%d&val2=%d HTTP/1.0",sensorValue ,sensorValue2);
       client.println(buffer);
       client.println();
       sensorValue = 0;
       sensorValue =0;
       
     }
     
      if (client.connected()==true) {
      client.stop();
     
       
    }
    delay(5000);
     
     }

Because memory is very limited on an Arduino it is possible that your 1800 byte buffer and long strings are causing your program to crash before it can do anything.

LOLOL

This reminded me of the other forum thread about the 8000 floats. LOL