There are many ways to do source opening.
1. Use some variables to get source.
if(!isset($PATH_INFO)) {
echo "<H1> No Source </H1>";
} else {
show_source($PATH_INFO);
}
2. Open a socket.
function getSource($host,$page) { $source = fsockopen($host,80);
fputs($source, "GET $page HTTP/1.0\r\nHost: $host\r\n");
$sourcetext = fgets($source,128);
fclose($source); return $sourcetext; }
The example would be: getSource("www.yahoo.com","/index.html");
Get it now?