You can use requesturl on the client-side.
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.req = requesturl("http://www.google.com");
this.catchevent(temp.req, "onReceiveData", "onSiteDownloaded");
}
function onSiteDownloaded(obj) {
echo("Site Data Size: " @ obj.fulldata.length());
// Full data will contain the html data and so on.
}