Author Topic: HTMLObject: Sending more than one varaible.  (Read 383 times)

^^^^^^^^^^^^^^^^^^^^^^

See next post.

\/\/\/\/\/\/\/\/\/\/\/
« Last Edit: July 11, 2009, 09:59:51 PM by Azjherben »

Code: [Select]
function serverCmdrate(%client,%message)
{

//%data = array();
//%data = explode("&", $_GET["q"]);
//foreach(%data as %key => %value){
//%temp = explode("=", %value);
//%data[%temp[0]] = %temp[1];
//}

%http = new HTTPObject(LCallbacks);
%raz = %message;
%cqt = "q="@%raz;
%alfinz = %cqt@"&myvarz=";
%complez = %alfinz@%client.name;

echo(%complez);

%http.get("azjherben.org:80", "/bltosql.php", %complez);
}



When I used the way wiki.returntoblockland.com suggested... I got a console error.
I comentted it out.
« Last Edit: July 11, 2009, 10:01:33 PM by Azjherben »

Why did you put php code in a torquescript file...?

Why did you put php code in a torquescript file...?

What?


Edit:  Oooooohhhhhhhhhhhh, that's php.