How can i print out an formatted HTML file ? This is my current code:
echo htmlspecialchars(file_get_contents($url));
But the result looks so ugly, all sticks together, no space no tabs. Is there any way to print the file exactly like the original file ?