Codice PHP:
<?php
$lines 
file('http://www.example.com/');
$stringa="";
// Loop through our array, show HTML source as HTML source; and line numbers too.
foreach ($lines as $line_num => $line) {
    
$stringa.=htmlspecialchars($line) ;
}
return 
$stringa;
?>