php调用快递api接口报错了
php codewarning: file_get_contents(http://api.ickd.cn/?com=ems&nu=5231326611111&id=*************&type=html&encode=utf8) [function.file-get-contents]: failed to open stream: 由于系统缓冲区空间不足或列队已满,不能执行套接字上的操作。 in d:\program files\phpnow-1.5.6\htdocs\029kuaidi\index.php on line 39
$typecom = $_post[expressid];//快递公司
$typenu = $_post[expressno]; //快递单号
$myname = $_post['myname'];
$key='*************';//到http://www.ickd.cn/api/reg.html申请
$url ='http://api.ickd.cn/?com='.$typecom.'&nu='.$typenu.'&id='.$key.'&type=html&encode=utf8';
$data = file_get_contents($url); 这就是39行的程序。
大家帮我看看吧。我现在很困惑,不知道什么问题。
------解决方案--------------------
服务器端出问题了,这个应该跟你没啥关系.