当前位置:   article > 正文

php抓即时股票信息_php怎么获取印度股票指数

php怎么获取印度股票指数
<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<script type="text/javascript"> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
php抓即时股票信息
<?  
$file_name="index.htm";  
if(is_file($file_name)) {  
exec("cat $file_name",$buffer);  
for($i=0;$i<count($buffer);$i++) {  
if(strstr($buffer[$i],"<!--股市每日動態-->")) break; //找到這一行  
}  

for($j=$i;$j<$i+70;$j++) { //抓以下70行  
$str.= $buffer[$j];  
}  
echo $str;  
}  
?>     
<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<script type="text/javascript"> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/598034
推荐阅读
相关标签
  

闽ICP备14008679号