php抓即时股票信息
$file_name="index.htm";
if(is_file($file_name)) {
exec("cat $file_name",$buffer);
for($i=0;$iif(strstr($buffer[$i],"")) break; //找到這一行
}
for($j=$i;$j$str.= $buffer[$j];
}
echo $str;
}
?>
http://www.bkjia.com/PHPjc/316172.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/316172.htmlTechArticlephp抓即时股票信息 ? $file_name=index.htm; if(is_file($file_name)) { exec(cat $file_name,$buffer); for($i=0;$icount($buffer);$i++) { if(strstr($buffer[$i],!--股市每日動態...