使用php发送和接收短信有哪些要求? [英] What are requirements for sending and receiving sms using php?

查看:123
本文介绍了使用php发送和接收短信有哪些要求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个网站,该网站可以在不同国家/地区向大量手机发送和接收消息.该系统是使用PHP开发的,我的问题是:通过它发送和接收消息的运营商需要什么要求(即php中的配置)?如果区别数太多,为此需要多少个数字?批量ID可以用于一个号码发送大量短信吗?

I want to develop a website that sends and receives messages to a huge number of mobile phones in different country. The system is developed using PHP, My question is that: What requirements(i.e configuration in php) are needed from the carrier that messages are sending and receiving via it? How many numbers are needed for this purpose if the distinction numbers are too many? Is bulk id can be used for one number to send sms for a large numbers?

推荐答案

您需要在SMS网关提供商处获得一个帐户. SMS网关位于您的网站和移动网络的短消息服务中心之间,并发送/接收SMS.这是执行此操作的简单方法,因为这些网关可以证明协议的选择,例如HTTP,SMTP,SMPP和Web服务.

You need to get an account with SMS gateway providers. SMS gateway sits between your website and the mobile network's short message service center and sends/receives SMS. This is the easy way to do this becuase these gateways can proveide choices of protocals such as HTTP, SMTP, SMPP and Web services.

使用这些网关可能会涉及成本,并且可以发送的SMS数量(批量)取决于您使用这些网关的帐户类型.

There will probably be cost involved with using these gateways and number (bulk) of SMS you can send depends on the kind of account you have with these gateways.

这样的网关很少有TwilioClickatellbulksms等.

Few exampls of such gateways are Twilio, Clickatell, bulksms etc.

这篇关于使用php发送和接收短信有哪些要求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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