i just run this code on Arduino GSM modem and when i post this code in a host
$service_port = '5000';
$address = '83.181.111.183';
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
$result = socket_connect($socket, $address, $service_port);
$json = array("dregme" => 0, "temperatura" => 0);
socket_write($socket, 'on');
echo socket_read($socket,100);
nothing happens but if i dont use this:
numdata=inet.httpGET("www.klondaikas.lt", 80, "/arduino/newIp.php", msg, 50);
works fine... but i need use this..