Ephi's tutorial was very... Lame. Plus, RTB is a hassel to sift through, and I've never found anything of use in there.
First, you need a server that is hosting a PHP script.
Say your PHP script calls for a name and it does something to it.
new HTTPObject(PHPtest);
function PHPtest::onLine(%this, %line)
{
//This is say a echo in PHP, anything you echo and any HTML code will come in through here, so you'll want to filter.
echo(%line); //Puts the returned line in console
}
HTTPObject.get("http://YourWebsite.com/PHPScript.php:80","name=hello");
That would connect to yourWebsite.com/PHPScript?name=hello
Then anything that would be in your browser is transferred to console.