<?php
$data = @file_get_contents("http://top.baidu.com/buzz/top10.html");
$str_buff = iconv("GB2312","UTF-8//IGNORE",$data);
preg_match_all("/<td class=\"keyword\">\s*<a class=\"list-title\" target=\"_blank\" href=\"(.*)\" href_top=\"(.*)\">(.[^<]*)<\/a>/i", $str_buff, $arr_infos);
$number = $_GET["no"];
echo "<a href=\"".$arr_infos[1][$number]."\">".$arr_infos[3][$number]."</a>";
?>