摘要:
php 需要访问某个网页 知识扩充 file_get_contents()模拟referer,cookie, 使用proxy等等 参考代码 ini_set('default_socket_timeout',120); ini_set('user_agent','MSIE 6.0;'); $conte 阅读全文
摘要:
微信公众号获取的经纬度为GPS的经纬度,和百度google地图用的经纬度有区别,必须转换一下才能获取正确的经纬度。 $baiduapiurl = "http://api.map.baidu.com/geoconv/v1/?coords={$userdbinfo['lon']},{$userdbinf 阅读全文