Code: Select all
<?php
$address = "http://www.google.com/"; //will eventually be passed from some other source
$instream = fopen($address, "r");
$data = fread($instream, filesize($instream));
fclose($instream);
fwrite($this,$data,filesize($data));
?>