Heim >Backend-Entwicklung >PHP-Tutorial >个人站长制做网页常用的php代码_php技巧

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-17 09:41:051038Durchsuche
复制代码 代码如下:

$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[0]; 
//$tomtq tom天气小偷 
?> 


天气预报 code来的





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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn