Home >Backend Development >PHP Tutorial >php抓即时股票信息_PHP

php抓即时股票信息_PHP

WBOY
WBOYOriginal
2016-06-01 12:40:191021browse

php抓即时股票信息
  
$file_name="index.htm";  
if(is_file($file_name)) {  
exec("cat $file_name",$buffer);  
for($i=0;$i if(strstr($buffer[$i],"")) break; //找到這一行  
}  

for($j=$i;$j $str.= $buffer[$j];  
}  
echo $str;  
}  
?>     
   
  

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