SMS 和 PHP...还有 Google Voice?
我花了几个小时寻找向我的 PHP 网站添加短信通知和接收的最佳方法。发送文本(将电子邮件转发到手机)似乎很容易,但如果没有 SMS 网关,则很难接收文本。 Clickatell被很多人推荐。
但是:我偶然发现了几篇文章推荐 Google Voice 作为发送和接收短信的渠道。 (这是一篇文章:http:// /sudocode.net/article/190/receiving-incoming-smstext-messages-from-google-voice-in-php/)
有什么理由我不应该/不能使用 Google语音号码(和 PHP)来处理我的短信出站和入站消息?
I've been searching for a few hours on the best way to add sms notifications and reception to my PHP website. It seems that it's easy to send texts (to an email forward to a phone), but hard to receive them without an SMS gateway. Clickatell was recommended a lot.
But: I stumbled across a few article recommending Google Voice as a channel to send and receive SMS. (Here's one post: http://sudocode.net/article/190/receiving-incoming-smstext-messages-from-google-voice-in-php/)
Is there any reason I shouldn't/can't use a Google Voice number (and PHP) to handle my sms outbound and inbound messages?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会检查 Google 语音服务条款。如果这是商业活动,我认为这是被禁止的。此外,由于没有官方 API,事情可能随时发生变化并破坏您的应用程序。
如果您需要可靠的传入或传出短信,网关是无可替代的。我会推荐一个,但我不是一个公正的观察者(见简介)。
I would check the Google Voice terms of service. If this is a commercial venture, I believe that's prohibited. Also since there is no official API, things could change at any time and break your app.
If you need reliable incoming or outgoing SMS there is no substitute for a gateway. I would recommend one, but I am not an impartial observer (see profile).
Google Voice 没有官方的 PHP API,但是我使用了 GVmax 以及 PHP-SDK 创建一个名为 的网站梅梅布罗。
There is no official PHP API for Google Voice, however I used GVmax along with this PHP-SDK to create a website called Memebro.