$file = file('http://www.google.it');
echo htmlspecialchars($file[0]);