手机号码归属地查询1874752****

您还未登陆,请登录后操作!
号码的现在位置不是号码归属地
对方如果是苹果可以查询到,再说了查个人的隐私是违法的。
可以查询。(我已积极回答您的问题,请点击&有用&支持一下,谢谢啦)
您的举报已经提交成功,我们将尽快处理,谢谢!
可以拨打客服人工或者自动查询,不必下载软件。客服电话免费,比如1(10011)。
大家还关注一、淘宝网API
tel:手机号码
返回:JSON
二、拍拍API
mobile:手机号码
callname:回调函数
amount:未知(必须)
返回:JSON
三、财付通API
chgmobile:手机号码
四、百付宝API
phone:手机号码
callback:回调函数
cmd:未知(必须)
返回:JSON
五、115API
mobile:手机号码
callback:回调函数
返回:JSON
六、有道api接口
接口地址:
参数说明:
type : 参数手机归属地固定为mobile
q : 手机号码
返回XML格式:
&?xml version="1.0" encoding="gbk"?&
type="mobile"&
&陕西 延安&
返回JSON格式:
fYodaoCallBack(1, {‘product’:’mobile’,’phonenum’:’′,’location’:’陕西 延安’} , ”);
PHP调用淘宝API实例:
$mobile = "150********";
$content = get_mobile_area($mobile);
print_r($content);
function get_mobile_area($mobile){
$sms = array('province'=&'', 'supplier'=&'');
$url = "/cc/json/mobile_tel_segment.htm?tel=".$mobile."&t=".time();
$content = file_get_contents($url);
$sms['province'] = substr($content, "56", "4");
$sms['supplier'] = substr($content, "81", "4");
return $sms;
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:64925次
积分:1174
积分:1174
排名:第19065名
原创:49篇
转载:38篇
(1)(4)(2)(2)(1)(1)(1)(3)(2)(3)(6)(1)(2)(1)(3)(2)(7)(8)(4)(5)(6)(12)(10)PHP手机号码归属地查询程序带数据_PHP源码_工具查询_源码天空
> 工具查询 > PHP手机号码归属地查询程序带数据
&&热门PHP源码 工具查询
PHP手机号码归属地查询程序带数据
资源类别:
¦工具查询
文件大小:
上传会员:
上传时间:
运行平台:
推荐程度:
源码演示:
下载次数:
PHP手机号码归属地查询&带数据
程序经过找PHP源码网测试通过,完整良好。
把__phone__.sql导入数据库
在check_phone_code.php里配置好数据库信息
index.php为查询页面
PS:很简单的东西,你想改就改
&&&&&&&&&&&&&&&&By&月半小夜曲@im286.com
&&网友评论:(共有0条)&&暂时还没有评论
&&→&发表我的评论:import java.io.BufferedR
import java.io.IOE
import java.io.InputStreamR
import java.io.StringR
import java.net.URL;
import java.net.URLC
import java.util.regex.M
import java.util.regex.P
import javax.xml.parsers.DocumentB
import javax.xml.parsers.DocumentBuilderF
import javax.xml.parsers.ParserConfigurationE
import org.w3c.dom.D
import org.xml.sax.InputS
import org.xml.sax.SAXE
public class MobileLocationUtil {
* 归属地查询
* @param mobile
* @return mobileAddress
@SuppressWarnings("unused")
private static String getLocationByMobile(final String mobile) throws ParserConfigurationException, SAXException, IOException{
String MOBILEURL = " /smartresult-xml/search.s?type=mobile&q=";
String result = callUrlByGet(MOBILEURL + mobile, "GBK");
StringReader stringReader = new StringReader(result);
InputSource inputSource = new InputSource(stringReader);
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
Document document = documentBuilder.parse(inputSource);
if (!(document.getElementsByTagName("location").item(0) == null)) {
return document.getElementsByTagName("location").item(0).getFirstChild().getNodeValue();
return "无此号记录!";
* 获取URL返回的字符串
* @param callurl
* @param charset
private static String callUrlByGet(String callurl,String charset){
String result = "";
URL url = new URL(callurl);
URLConnection connection = url.openConnection();
connection.connect();
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream(),charset));
while((line = reader.readLine())!= null){
result += "\n";
} catch (Exception e) {
e.printStackTrace();
return "";
* 手机号码归属地
* @param tel
* @return 135XXXXXXXX,联通/移动/电信,湖北武汉
* @throws Exception
public static String getMobileLocation(String tel) throws Exception{
Pattern pattern = pile("1\\d{10}");
Matcher matcher = pattern.matcher(tel);
if(matcher.matches()){
String url = "/cgi-bin/mobile/MobileQueryAttribution.cgi?chgmobile=" +
String result = callUrlByGet(url,"GBK");
StringReader stringReader = new StringReader(result);
InputSource inputSource = new InputSource(stringReader);
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
Document document = documentBuilder.parse(inputSource);
String retmsg = document.getElementsByTagName("retmsg").item(0).getFirstChild().getNodeValue();
if(retmsg.equals("OK")){
String supplier = document.getElementsByTagName("supplier").item(0).getFirstChild().getNodeValue().trim();
String province = document.getElementsByTagName("province").item(0).getFirstChild().getNodeValue().trim();
String city = document.getElementsByTagName("city").item(0).getFirstChild().getNodeValue().trim();
if (province.equals("-") || city.equals("-")) {
return (tel + "," + supplier + ","+ getLocationByMobile(tel));
return (getLocationByMobile(tel) + "," + supplier);
return (tel + "," + supplier + ","+ province + city);
return (province + city + "," + supplier );
return "无此号记录!";
return tel+ ":手机号码格式错误!";
public static void main(String[] args) {
System.out.println(MobileLocationUtil.getMobileLocation("187****254"));
} catch (Exception e) {
e.printStackTrace();
java技术交流群:
阅读(...) 评论()归属地,是哪里的?
机主姓名:***&&&&&&
所查号码:
归属地区:广西省南宁市
城市区号:0771
卡 类 型:广西电信CDMA卡
是广西电信CDMA卡用户,所属地区为广西省南宁市,该地区区号为0771。凡手机号码前7位是1337718的都是属于广西电信CDMA卡用户
的查询记录
江西省吉安市电信用户[ 17:41:31]
220.177.198.53 | 00 | [0] | 查询(2)
浙江省杭州市电信用户[ 09:35:24]
115.193.224.112 | 简体中文IE或IE内核的浏览器 | [Windows] | 查询(1)
安徽省合肥市电信用户[ 20:43:07]
183.160.240.46 | 简体中文谷歌浏览器(Chrome) | [Windows] | 查询(1)
湖南省联通用户[ 13:20:08]
110.52.5.69 | 简体中文IE或IE内核的浏览器 | [Windows] | 查询(1)
四川省电信用户[ 23:38:02]
139.205.148.80 | 简体中文谷歌浏览器(Chrome) | [Windows] | 查询(1)
浙江省杭州市电信用户[ 17:10:12]
115.200.201.147 | 简体中文谷歌浏览器(Chrome) | [Windows] | 查询(1)
黑龙江省哈尔滨市联通用户[ 10:17:46]
113.9.10.80 | 简体中文苹果浏览器(Safari) | [苹果操作系统] | 查询(2)
河南省郑州市联通用户[ 00:31:02]
182.118.56.227 | 简体中文谷歌浏览器(Chrome) | [Windows] | 查询(1)
广东省惠州市电信ADSL用户[ 23:58:37]
59.33.178.187 | 简体中文火狐浏览器(Firefox) | [Windows] | 查询(1)
湖北省宜昌市电信用户[ 08:41:08]
27.21.85.24 | 简体中文谷歌浏览器(Chrome) | [Windows] | 查询(1)
上海市电信用户[ 10:55:00]
180.153.206.35 | 简体中文0 | [0] | 查询(1)
福建省厦门市电信用户[ 10:25:00]
110.87.53.88 | 简体中文IE或IE内核的浏览器 | [Windows] | 查询(1)
北京市互联互通(安贞桥IDC机房)用户[ 01:58:14]
116.213.196.111 | 简体中文火狐浏览器(Firefox) | [Windows] | 查询(1)
河南省郑州市电信用户[ 20:46:46]
123.149.12.170 | 简体中文IE或IE内核的浏览器 | [Windows] | 查询(1)}

我要回帖

更多关于 号码归属地查询 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信