1) why not use PHP's already abled file_get_contents?
2)
function get_file_contents($url)
{
return var_dump($url);
}
$url = 'http://www.mysite.co.uk';
$bigString = get_file_contents( $url );
based on what i see here... all that function is gunna do is spit back the url to you... var_dump just dumps out information about a variable... if u want the contents of the webpage you can go:
$url = 'http://www.mysite.co.uk';
$bigString = file_get_contents( $url );
//big string now contains ALL the html of the url