in reply to Re: Displaying the source code of a web pagein thread Displaying the source code of a web page
If you're going to suggest shelling out to wget, at least take the shell out of the equation:
system("wget", $url); [download]