如何通过SMS短信更新mysql数据库? [英] How to update a mysql database via SMS text messaging?

查看:141
本文介绍了如何通过SMS短信更新mysql数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为正在制作的CMS添加其他功能,该功能将允许用户通过短信向网站添加内容.用户应该能够上载图像并添加文本,然后将消息发送到一个号码,该号码收到后将相应地更新数据库.

I want to add an additional functionality to a CMS I am making that will allow users to add content to a site via text message. The user should be able to upload an image and add text and send the message to a number which when received will update the database accordingly.

这是可以做到的,并且可以通过PHP完成,因为那是我所知道的唯一语言?同样,实现这种目标的总体思路是什么?

Can this be done, and can it be done via PHP because that's the only language I know? Also what would be the general outline to achieve such a thing?

推荐答案

您必须找到一个支持SMS的传入"的SMS网关.人们通常会选择 Click-a-tell ,因为他们使用的API和文档都是免费的尽管.如果您在Google上快速搜索" SMS网关",您还会找到许多其他解决方案.

You have to find a SMS gateway that supports "incoming" of SMS. Click-a-tell is generally the one people choose because of their API and documentation, they aren't free though. If you do a quick Google search for "SMS Gateway" you'll find plenty of other solutions.

一旦选择了要使用的网关,其余的过程就很简单.您只需将SMS作为常规请求处理到您的应用程序中即可.

Once you choose the gateway you want to go with, the rest of the process is easy. You would just handle the SMS as a regular request into your application.

希望可以帮助您入门!

这篇关于如何通过SMS短信更新mysql数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆