【发布时间】:2011-07-01 11:58:20
【问题描述】:
我配置:
curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 15); curl_setopt($this->ch, CURLOPT_TIMEOUT, $timeout);
为什么会出现这个错误
最长执行时间 120 秒 超过 xxxx.php 在这一行:
curl_exec($this->ch);
我使用 CURL 获取页面、登录、上传文件。发送大约 30 个请求。(我只使用 curl_init() 一次)
任何人都可以帮助我。
【问题讨论】:
-
$timeout的值是多少?