Solved!
Post message must contain 'Content-Type'
Working code for arduino:
#include <EtherCard.h>
#define PATH "temp.php"
byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 };
char website[] PROGMEM = "www.iskrzycki.hekko.pl";
byte Ethernet::buffer[700];
uint32_t timer;
Stash stash;
void setup () {
Serial.begin(57600);
Serial.println("\n[webClient]");
if (ether.begin(sizeof Ethernet::buffer, mymac) == 0)
Serial.println( "Failed to access Ethernet controller");
if (!ether.dhcpSetup())
Serial.println("DHCP failed");
if (!ether.dnsLookup(website))
Serial.println("DNS failed");
ether.printIp("SRV: ", ether.hisip);
}
void loop () {
ether.packetLoop(ether.packetReceive());
if (millis() > timer) {
timer = millis() + 10000;
byte sd = stash.create();
stash.print("t0=22");
stash.save();
Stash::prepare(PSTR("POST http://www.iskrzycki.hekko.pl/temp.php HTTP/1.0" "\r\n"
"Host: www.iskrzycki.hekko.pl \r\n"
"Content-Length: $D" "\r\n"
"Content-Type: application/x-www-form-urlencoded \r\n"
"\r\n"
"$H"),
stash.size(), sd);
ether.tcpSend();
}
}