Joke Collection Website - Public benefit messages - Ask: php how to send short messages to mobile phones, it is best to have simple comments!

Ask: php how to send short messages to mobile phones, it is best to have simple comments!

Programs can't just send messages to people.

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. Is it generally socket+xml or /development.asp? subid=78)

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.