获取网页内容 起始位置10 至 最后
if ($stream = fopen('http://www.example.com', 'r')) {
// print all the page starting at the offset 10
echo is_resource($stream);//判断是否为资源类型
echo '<br />';
echo get_resource_type($stream); //stream
echo '<br />';
echo stream_get_contents($stream, -1, 10);
fclose($stream);
}