关于如何将短信发送到手机的任何良好的PHP教程? [英] any good php tutorial on how to send sms to phones?

查看:89
本文介绍了关于如何将短信发送到手机的任何良好的PHP教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有些Google在该主题上进行搜索,而现有的大多数api都需要专用的服务器.

did some google searching on the topic and most of the api's that existed required a dedicated server.

是否会在本地计算机上尝试并使用wamp,我是否需要经过某种(某种类型的)商人才能发送短信?

ill be trying this on the local machine and am using wamp, would i need to go through a type of merchant (of some type) to be able to send sms's?

,如果您知道任何教程,请列出它们.

and if you know of any tutorials list them.

谢谢

推荐答案

如另一个答案中所述,您需要第三方来发送消息,而您还必须为发送邮件支付一些费用.

As mentioned in another answer you will need a 3rd party to send your messages through and you will also have to pay something for sending them.

我还没有亲自尝试过,但是本教程通过HTTP发送短信似乎是一种不错的方法.它可以使您

I haven't tried it myself but this tutorial on Sending SMS thru HTTP seems like a nice way to go. It'll enable you to

使用PHP和HTTP协议通过SMS网关从您的网站发送文本消息.

Use PHP and the HTTP protocol to send text-messages from your website through an SMS gateway.

本教程使用了TM4B的 SMS API ,它看起来非常直观. TM4B还提供了专用计算机的网关软件(即使我知道您尝试避免这种情况).正如有关TM4B的教程中所述:

The tutorial makes use of the SMS API from TM4B which seems really intuitive. TM4B also offers gateway software for a dedicated machine (even though I know you try to avoid that). And as stated in the tutorial about TM4B:

  • 它们是我所知道的唯一具有模拟模式的网关 调整脚本.
  • 他们没有任何设置费用.
  • 他们的价格低.
  • 它们是可靠的.
  • 我用它们.
  • They are the only gateway I know that have a simulation mode for tweaking your scripts.
  • They don't have any set-up fees.
  • Their prices are low.
  • They are reliable.
  • I use them.

至少我是这样开始的.我认为今天晚上已经足够宣传:).

At least that's the way I'd go to begin with. I think that's enough propaganda for tonight : ).

这篇关于关于如何将短信发送到手机的任何良好的PHP教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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