Dump index page of a www server in PHP
Description
The following code shows how to dump index page of a www server.
Example
/*from w ww . ja v a 2s .co m*/
<?php
$file = fopen("http://www.java2s.com","r");
fpassthru($file);
?>
The code above generates the following result.