首页 > Linux操作系统 > Linux操作系统 > 用PHP实现两路SMS
SMS is used for various purposes these days. For example, major websites like Gmail and Facebook use SMS to improve their authentication process with multi-factor authentication and notifying users about the updates. These are one-way SMS applications since messages are sent only from these sites to the user.
Two-way SMS applications are more complex than one-way ones. In two-way SMS apps, a user can initiate a conversation by sending messages, and then the application responds according to the user’s commands.
In this article I will explain the process of two-way SMS interactions and show you how you can incorporate it in your PHP applications. There are many popular SMS gateways available around the world which provide two-way messaging; In my explanations here, I will be using Clickatell.
Two-Way SMS Life Cycle
The life cycle of two-way SMS can be divided into 4 main steps as shown below:

ori.jpg
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/301743/viewspace-736282/ ,如需转载,请注明出处,否则将追究法律责任。