- ob_start: documentation ( source)
- ob_get_contents: documentation ( source)
- ob_end_clean: documentation ( source)
<?php
$url = "http://www.whitehouse.gov";
ob_start();
include_once( $url );
$html = ob_get_contents();
ob_end_clean();
print($html);
?>