PHP根据ip获取地理位置(通过高德地图接口)

<pre>

//restapi.amap.com/v3/ip?key=2004f145cf3a39a72e9ca70ca4b2a1dc&ip=114.247.50.2

</pre>