摘要: 1:下面来看PHP Unicode编码方法,将中文转为Unicode字符,例如将新浪微博转换为unicode字符串,代码如下: function UnicodeEncode($str){ //split word preg_match_all('/./u',$str,$matches); $unic 阅读全文
posted @ 2019-11-07 15:41 $DeBuger 阅读(1023) 评论(0) 推荐(0)
摘要: get 方式 function http_get_content($url){ $oCurl = curl_init(); if (stripos($url, "http://") !== FALSE) { curl_setopt($oCurl, CURLOPT_SSL_VERIFYPEER, FA 阅读全文
posted @ 2019-11-07 15:17 $DeBuger 阅读(462) 评论(0) 推荐(0)
摘要: 免费的快递查询接口 1.第一个接口只需要快递单号就可以查询。https://sp0.baidu.com/9_Q4sjW91Qh3otqbppnN2DJv/pae/channel/data/asyncqury?cb=jQuery110204759692032715892_1499865778178&a 阅读全文
posted @ 2019-11-07 11:30 $DeBuger 阅读(816) 评论(0) 推荐(0)