2012年8月24日

PHP实现手机归属地查询API接口

摘要: 主要使用curl实现,需要开启php对curl的支持。 <?php header(“Content-Type:text/html;charset=utf-8″); if (isset($_GET['number'])) { $url = ‘http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx/getMobileCodeInfo’; $number = $_GET['number']; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $ur 阅读全文

posted @ 2012-08-24 15:47 北国的秋天 阅读(637) 评论(0) 推荐(0) 编辑

导航