How to register a mobile phone or email

Source: Internet
Author: User
How can I register a mobile phone or email address? How can I register a mobile phone or email in a text box ?, This involves the API interface, & nbsp; mobile phone registration: & nbsp; you can use the SMS interface to send a verification code, and then check whether the verification code is correct in the text box. & nbsp; email registration: & nbsp; how to register a mobile phone or email?
How can I register a mobile phone or email in a text box?

------ Solution --------------------
This involves the API interface,
Mobile phone registration:
You can use the SMS interface to send a verification code and then check whether the verification code is correct in the text box.
Email registration:
Send an email to the email address, click the link for the operator, register the email,


In general, the difficulty lies in finding api interfaces,

I know about mobile phone text messages on chinam.com (Baidu searches for them, and then he provides five text messages for free testing)
You can find an api development email,

------ Solution --------------------
PHP code
If (is_numeric ($ _ POST ['name']) {$ SQL = "insert into user (id, email, tel) values ('','', '{$ _ POST ['name']}') "; // mobile phone} else {$ SQL =" insert into user (id, email, tel) values ('', '{$ _ POST ['name']}', '')"; // email} mysql_query ($ SQL );
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.