PHP头条
热点:

个人站长制做网页常用的php代码


代码如下:


$str = file("http://tq.tom.com/china/index.html");
$count = count($str);
for ($i=0;$i<$count;$i++){
$file .= $str[$i];
}
$tomtq = explode("

",$file);
$tomtq = explode("
",$tomtq[1]);
$tomtq= $tomtq[0];
//$tomtq tom天气小偷
?>



天气预报 code来的





[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

www.phpzy.comtrue/phpyy/51859.htmlTechArticle个人站长制做网页常用的php代码 代码如下: $str = file("http://tq.tom.com/china/index.html"); $count = count($str); for ($i=0;$i $file .= $str[$i]; } $tomtq = explode(" ",$file); $tomtq = explode(" ",$tomtq[1]); $tomtq= $tomtq...

相关文章

PHP之友评论

今天推荐