【www.bbyears.com--网页配色】
Hello World!""; ?>
sssss
ooooo
$url = ""http://localhost/test.php""; //测试本地网页
#$url = ""http://www.myenjoylife.cn/index.php""; //抓取www.myenjoylife.cn首页内容
$lines_array = file($url);
$lines_string = implode("""", $lines_array);
eregi("(.*)", $lines_string, $head);
echo $head[0];
?>
http://blog.111cn.net/hongyu6/archive/2008/03/11/2170585.aspx