<span class="unnamed3">php抓即时股票信息 <br> <br>$file_name="index.htm"; <br>if(is_file($file_name)) { <br>exec("cat $file_name",$buffer); <br>for($i=0;$i<count></count>if(strstr($buffer[$i],"<!--股市每日動態-->")) break; //找到這一行 <br>} <br><br>for($j=$i;$j$str.= $buffer[$j]; <br>} <br>echo $str; <br>} <br>?> <br></span> <p style="width:100%;text-align:center;margin:10px 0"> <br> <br> </p> <p style="width:100%;text-align:center;margin:10px 0"> </p> <p class="clear"></p>