PHP obtains the location of the mobile phone number
User Leaps/httpClient
can be directly replaced by file_get_contents
This API interface has been running stably since the SAE platform was launched in 2011. It has added support for segment 17. All collections are welcome and the limit is 10 concurrency
function getMobileInfo($mobile) { $http = new HttpClient (); $response = $http->get ( 'http://appyun.sinaapp.com/index.php?app=mobile&controller=index&action=api&outfmt=json&mobile='.$mobile ); if ($response->getHttpCode () == '200') { $result = json_decode($response->getBody(),true); return $result; } return false; }