Home  >  Article  >  Backend Development  >  php抓即时股票信息_PHP教程

php抓即时股票信息_PHP教程

WBOY
WBOYOriginal
2016-07-21 16:03:491016browse

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;  
}  
?>     

  

www.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],!--股市每日動態...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn