Alright, when I try it, auth.php:
<?PHP
$quantity = $_GET['name'];
$myFile = "auth.htm";
$fh = fopen($myFile, 'w') or die("Can't open file");
$stringData = "This is a tested parameter: " . $quantity . ".<br/>";
fwrite($fh, $stringData);
fclose($fh);
?>
%server = "kalphiter.com:80";
%path = "/";
%script = %path @ "auth.php";
%upd = new HTTPObject(authObject){};
%clientparameters = "name=namehere";
%upd.get(%server, %script, %clientparameters);
function authObject::onLine(%this, %line) {
echo(%line);
}
When executed it returns this, something relating to my host? I'm sure this is just something host-sided.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://byet.org/web/index.html">here</a>.</p>
</body></html>
I don't know why :(
It seems it's a 302 "error".
Also, in RTHB_support.cs I couldn't help but notice this:
%this.cmd = "POST "@%this.filePath@" HTTP/1.1\r\nHost: "@%this.site@"\r\nUser-Agent: Torque/1.0\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: "@%contentLength@"\r\n\r\n"@%string@"\r\n";