This has worked for me in the past and copy/paste to a new app now it does not work. gameone.php exists on the server, just simple code to write to a text file
%data = "code="@$TCPCode @ "&sname="@%sname @ "&wmis="@%mission;
%httpCmd="POST /game/gameone.php HTTP/1.1\nHost: www.myweb.com:80\nUser-Agent: Torque/1.0 \nAccept: */*\nContent-Length: "@ strlen(%data) @"\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\n\n" @ %data;
%this.send(%httpCmd @ " \r\n");
function TCPObj::onLine(%this, %line)
echo("TCP LINE "@%line); // returns HTTP/1.1 400 Bad Request
Anyone know if things have changed since 1.5.2 ?