Ok i have got my script set up here http://opps.incarnate.me/test.php
and the corect URL is placed in the script for the object and had my hosting Co. open the PORTS needed
but nothing happens dose anyone know if this set up still works?
<?phpecho "LSL Script answered:<br>";echo Advanced_HTTP_Request("http://sim10186.agni.lindenlab.com:12046/cap/9a733888-9d5e-e247-869c-880046423bbb", "Hello script, how are you ?"); function Advanced_HTTP_Request($Host, $PostData = ""){ $Method = "POST"; if (empty($PostData)) {$Method = "GET";} $Port = 80; if (strtolower(substr($Host, 0, 5)) == "https") {$Port = 443;} $Host = explode("//", $Host, 2); if (count($Host) < 2) {$Host[1] = $Host[0];} $Host = explode("/", $Host[1], 2); if ($Port == 443) {$SSLAdd = "ssl://";} $Host[0] = explode(":", $Host[0]); if (count($Host[0]) > 1) { $Port = $Host[0][1]; $Host[0] = $Host[0][0]; } else {$Host[0] = $Host[0][0];} $Socket = fsockopen($SSLAdd.$Host[0], $Port, $Dummy1, $Dummy2, 10); if ($Socket) { fputs($Socket, "$Method /$Host[1] HTTP/1.1\r\n". "Host: $Host[0]\r\n". "Content-type: application/x-www-form-urlencoded\r\n". "User-Agent: Opera/9.01 (Windows NT 5.1; U; en)\r\n". "Accept-Language: de-DE,de;q=0.9,en;q=0.8\r\n". "Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1\r\n". "Content-length: ".strlen($PostData)."\r\n". "Connection: close\r\n". "\r\n". $PostData); $Tme = time(); while(!feof($Socket) && $Tme + 30 > time()) {$Res = $Res.fgets($Socket, 256);} fclose($Socket); } $Res = explode("\r\n\r\n", $Res, 2); return $Res[1];}?>
this is the Code as it is on the Test.php i try calling it in the URL but nothing...