Ho provato cosi:
Codice PHP:
$hfile file_get_contents($url,"r");
            if(
$hfile){
                while(!
feof($hfile)){
                    
$html.=fgets($hfile,1024);
                } 
Ma credo che si devono modificare anche il feof e fgets, perchè mi da diversi errori con quei comandi.