CALL PHP FILE

Using the Arduino to use a domain name is more complicated that you really need (have to do a DNS lookup), so I suggest you use the sites IP address. Below is how I obtained that address for your site.

wandrson@delphi:~$ ping smarthousesfax.bl.ee
PING smarthousesfax.bl.ee (31.170.164.54) 56(84) bytes of data.
64 bytes from 31.170.164.54: icmp_seq=1 ttl=49 time=154 ms
64 bytes from 31.170.164.54: icmp_seq=2 ttl=49 time=154 ms
64 bytes from 31.170.164.54: icmp_seq=3 ttl=49 time=153 ms
64 bytes from 31.170.164.54: icmp_seq=4 ttl=49 time=152 ms
--- smarthousesfax.bl.ee ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 7408ms
rtt min/avg/max/mdev = 152.203/153.780/154.857/1.147 ms

In the example code I provided earlier I demonstrated how to use this IP address to build a HTTP request to that PHP page.

...

char memoria[] = "192.168.0.100";   // <-- Change this to 31.170.164.54

...

void httpRequest(char *query) {
  // if there's a successful connection:
  if (client.connect(memoria, http_port)) {
    // send the HTTP GET request:
    client.println(query);
    Serial.println(query);
    client.println("Host: 192.168.0.100");  // <-- Change this to 31.170.164.54
    client.println("User-Agent: arduino");
    client.println("Connection: close");    
    client.println();
    delay(50);
    client.stop();
  } 
  else {
    // if you couldn't make a connection:
    Serial.println("connection failed");
    Serial.println("disconnecting.");
    client.stop();
  }

...

// Change this sprintf to use your php file and provide it with whatever parameters it expects.
// like "GET porteon.php?P1=...

sprintf(buffer, "GET /apps/add_env.php?rec_date=%04d-%02d-%02d%c20%02d:%02d:%02d&location=%s&temperature=%ld&pressure=%ld&humidity=%ld&illumination=%ld HTTP/1.1", 
      year(), month(), day(), '%', hour(), minute(), second(), location, mcp_f, bmp_p, dht_h, llux);
    Serial.println(buffer);
    httpRequest(buffer);