php 报错:Operation timed out after **

做KU6的API的时候报这个错误,网上找了阵子才找到答案,原来是返回时候超时,

 Operation timed out after 1000 milliseconds with 0 bytes received

如果使用curl的话设置curl_setopt_array($remote, array(CURLOPT_TIMEOUT=>200))

根据需要修改时间,大到一定程度还超,检查网络,呵呵~

posted @ 2010-09-08 10:14  liushan  阅读(2387)  评论(0编辑  收藏  举报