Hi,
Yes sure you can do it like this.
<?php
// This defines the url of the file
$url = "http://www.yahoo.com/index.html";
// This opens the connetcion to the file
if (!$fp = @fopen($url, "r")) {
// This is the source from yahoo
$html_from_yahoo = fgets($fp, 4096);
// Close the file
fclose($fp);
}
// Print out the source
echo($html_from_yahoo);
?>
Hope this helps,
Elfyn