protected void Button1_Click (object sender, EventArgs e){if (Regex.IsMatch (TextBox1.Text.Trim (), @ "^\d{7,11}$")){String num = TextBox1.Text.Trim (). Substring (0, 7);DataRow dr = DAL.oledb.ExecuteDataRow ("Db.mdb", "SELECT * from list where num =?", num);if (dr! = null){Response.Write (TextBox1.Text.Trim () + "}}}ASP. NET implementation of mobile phone number attribution to query, the code is as follows
Copy CodeThe code is as follows:
Mobile phone number Verification
function Checkmobilevalidity ($mobilephone) {
$exp = "/^13[0-9]{1}[0-9]{8}$|15[012356789]{1}[0-9]{8}$|18[012356789]{1}[0-9]{8}$|14[57]{1}[0-9]$/";
if (Preg_match ($exp, $mobilephone)) {
return true;
}else{
return false;
}
}
Cell phone number Attribution (back to: Guangdong Mobile)
function Checkmobileplace ($mobilephone) {
$url = "http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?te
Http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=jsReturn value data format: var remote_ip_info = {"ret": 1, "Start": "59.37.164.179″," End ":" 59.37.165.17″, "Country": "\U4E2D\U56FD", " Province ":" \u5e7f\u4e1c "," City ":" \u6c5f\u95e8″, "" District ":" "," ISP ":" \u7535\u4fe1″, "" Type ":" "," desc ":"};http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=jsip=61.135.169.125Return value data format: var remote_ip_info = {"ret": 1, "Start": "61.135.164.0″," End ":" 61.135.169.
regions of the function, so the study of a night ID database of things; toss half a day, online also checked a lot, will today's "results" contribute to the rates of readers.Information about this database:1. The first 6 area codes for the national identity card were collated (June 27, 2016) a total of 6,724 articles;2. The document format is an Access database, can be opened by downloading tools on the Web, or directly using visual Sudio or Excel;3. A total of 6,724 articles have been integrat
This article mainly and everyone to share the PHP curl to achieve mobile phone number attribution query function, hope to help everyone.
1, the code is as follows:
Index.html
Query_phone.php
simple_html_dom.php
Need to download PHP parsing HTML class library: simple_html_dom.php
2. Effect
Now a variety of Web applications, as a programmer, how can not be a defensive? "PHP implementation of mobile phone attribution Search Video Tutorial" will take you from 0 to develop a complete Web application, from framework to process analysis and data caching, I believe you learned this lesson after the harvest is not only learned to develop an application.
Course Play Address: http://www.php.cn/course/412.html
The teacher's lecture style:
The te
temperature:13 ℃; Wind/Wind: Southwest wind 1 level; Humidity: 66%---UV intensity: weakest. Air quality: good. ---UV Index: Weakest, radiation weak, coated SPF8-12 Sunscreen Skin care products. Cold index: Very easy to hair, strong cooling, cold weather, strong wind. Clothing index: Colder, suggest a thick coat and sweater and other apparel. Car Wash Index: Not suitable, rain, rain and mud will stain the car. Sports index: Less suitable, there is precipitation, it is recommended that you indoor
ImportCom.alibaba.fastjson.JSONArray;ImportCom.alibaba.fastjson.JSONObject;ImportJava.io.BufferedReader;ImportJava.io.InputStream;ImportJava.io.InputStreamReader;Importjava.net.MalformedURLException;ImportJava.net.URL; Public StaticString calcmobilecity (String mobilenumber)throwsmalformedurlexception{String jsonstring=NULL; Jsonarray Array=NULL; Jsonobject Jsonobject=NULL; //get the API address of the PAT netString urlstring = "http://virtual.paipai.com/extinfo/GetMobileProductInfo?mobile=" +mo
VOS2009, vos3000, vos5000 the latest mobile phone number segment belongs to the database import file.Based on the latest version of the April 2017 mobile phone number segment to maketotal 360,569 records, compatible with all versions of the Quentin Vos, including VOS2009, vos3000, vos5000 importing is relatively straightforward. Download and unzip to the desktop in Vos Select File import. : http://www.51voip.org/post/60.html2017 latest vos2009/vos3000 Latest mobile phone number segment import
empty, once the subscript is used to traverse to the last element, - #it will be an error (because the last element in the list is empty: You can try it and print it out to see it) + - #The following line of code is the element in the cut list, followed by the ' | ' To cut, the first element of the list is cut to the assigned LT1 (list) +LT1 = Lt0[i].split ("|") A at #Add a Dictionary key (enter the element labeled 1 under the LT1 list), - #and the value of the
According to the mobile phone number of the location, operators we refer to Google's Libphonenumber package, Libphonenumber is used to parse, format, store and verify the phone number of Java, C + + or JavaScript class library.
Dependent jar Packs: Com.googlecode.libphonenumber (Libphonenumber, Geocoder, Prefixmapper, Carrier)
Jar Package Download Address: Http://mvnrepository.com/search?q=libphonenumber (we can also use MAVEN configuration)
Package com.yuanzubao.common.util;
Import Java.util.
I. The place of the caller's ownership
We have been waiting a long time for the call tracking attribution. Mom doesn't have to worry about me escaping!
Second, the caller big head
This feature was inexplicably discarded in iOS 7, but it was "wrong here" at the urging of our people, and it came back in iOS 8. The operation method is very simple, in the contact editor chooses the editor Avatar, chooses you to need the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.