如何使用php将手机短信接收到服务器
任何人都可以解释如何实现以下要求。
- 假设用户发送一条消息,例如:TDFEED 干得好!到一些常见的号码,例如 5858。
- 我需要将这条短信接收到我的服务器。
- 操作文本并回复我需要发送确认。
我需要如何使用 php 或任何其他语言来实现这一点。
谢谢, 洛克什。
Can any one explain how to achieve the below requirement.
- Say user sends a message like eg: TDFEED Nice work ! to some common no like 5858.
- I need to receive this text message to my server.
- Manipulate the text and in reply i need to send an acknowledgement.
I need how to achieve this using php or any other language.
Thanks,
Lokesh.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 Twilio (http://www.twilio.com/),我现在用它们发送短信消息及其接收消息的 API 非常简单且易于设置。
文档: http://www.twilio.com/docs/quickstart/sms/hello -猴子
Use Twilio (http://www.twilio.com/), I'm using them now to send SMS messages and their API for receiving them is very simple and easy to setup.
Docs: http://www.twilio.com/docs/quickstart/sms/hello-monkey
您可以使用此短信软件http://smsenabler.com。它可以自动将传入的 SMS 消息发布到 PHP 脚本的 URL 并发回回复 SMS 消息。
它使用插入计算机的 3G/GSM 调制解调器(加密狗)来接收 SMS。此类调制解调器/加密狗内部有一个 SIM 卡,因此它们有一个可以发送短信的电话号码。
You can use this SMS software http://smsenabler.com. It can automatically post incoming SMS messages to the URL of your PHP script and send back reply SMS messages.
It uses a 3G/GSM modem (dongle) plugged in a computer to receive SMS. Such modems/dongles have a SIM card inside, therefore they have a phone number to which text messages can be sent.
您可以使用 www.aql.com 将 SMS 消息接收到您的应用程序中。可能在英国工作得最好...
You can use www.aql.com to receive SMS messages into your application. May work best in the UK...