Home  >  Article  >  Backend Development  >  循环实施网页有点郁闷,

循环实施网页有点郁闷,

WBOY
WBOYOriginal
2016-06-13 12:44:02813browse

循环执行网页有点郁闷,。。
循环执行网页有点郁闷,。。

  直接在地址栏  m.php?id=1 是可以执行的。

  使用mu.php 文件去循环执行m.php+ID。

  

<br />
for($i=$xiaoid;$i<daid;$i++){<br />
   echo $ch = curl_init("m.php?id=$i") ;<br />
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) ;  <br />
    curl_setopt($ch, CURLOPT_BINARYTRANSFER, true) ;<br />
    echo $output = curl_exec($ch) ;<br />
}<br />
 


错误提示。
Resource id #2Resource id #3Resource id #4Resource id #5Resource id #6

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