PHP使用api的两种方法
1.用file_get_contents()函数 2.用php的curl拓展 $url2 = 'http://www.sojson.com/open/api/weath ...
1.用file_get_contents()函数 2.用php的curl拓展 $url2 = 'http://www.sojson.com/open/api/weath ...