Joke Collection Website - Public benefit messages - Who can tell me how to use php language to connect mobile phone short messages to send and receive short messages through database, preferably with comments!
Who can tell me how to use php language to connect mobile phone short messages to send and receive short messages through database, preferably with comments!
1. Theoretically, you need to negotiate with China Mobile or China Unicom and get the business license of SP (service provider) before you can use the API of SMS. (more difficult)
2. If you find an SP and talk about cooperation, he will give you the reference method of the interface. Generally it is socket+xml or http+xml. It is very convenient to call socket related functions in PHP.
3. If there is an easier way, it is through some free/paid SMS sending service providers, who provide plug-ins and interfaces for sending SMS. There are many ways, most of which have HTTP and webservice interfaces that PHP can call. For example, this platform:
()
4. Some people use PHP to call Fetion API to send, but the official does not provide it, so it is not very stable. For details, please search fetion API PHP.
- Previous article:How does Apple close Unicom's popup window?
- Next article:Super dirty love words between lovers
- Related articles
- Children's Mid-Autumn Festival greetings are very short.
- The red rice note phone doesn't ring. What's wrong?
- 7-up customer activity plan
- Oppo, how do you know you're dead?
- Where is the number of the old man-machine short message center?
- How does Jinjiang delete its own comments?
- My first love, a crush on a boy, what should I do?
- If you are using moto v3x, please help me.
- What kind of card is suitable for users who send text messages crazily?
- How to divide WeChat reading into horizontal columns