If you just want a basic request:
new httpObject(example);
function example::onLine(%this, %line) {
cancel(%this.finished);
%this.page = %this.page @ %line NL "";
%this.finished = %this.schedule(250, finished);
}
function example::finished(%this) {
%this.disconnect();
echo(%this.page);
}
...
example.get("blockland.us:80", "/");
Added the 'finished' thing for websites that don't feel like disconnecting you.
If you want something more advanced, header control, working multiple-PHP-arguments, etc, use TCPObjects.