In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to achieve php to judge Unicom or telecom, I hope you will gain something after reading this article, let's discuss it together!
Php realizes the method of judging China Unicom or China Telecom: 1, create a HTML page and verify whether the mobile phone number is correct by js code; 2, judge whether the number is Unicom or China Telecom by PHP code "public function phone_check () {...}".
This article operating environment: Windows7 system, PHP7.4 version, Dell G3 computer.
PHP determines the mobile phone number and operator (details of the attached code)
The reason is very simple. You only need to know the rules of mobile phone number and make regular judgment.
Mobile: 134,135,136,137,138,139,150,151,157 (TD), 158,159,187,188
China Unicom: 130, 131, 132, 152, 155, 156, 185, 186
Telecom: 133,153,180,189, (1349 Satcom)
HTML page
Mobile phone number attribution
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.