开发者

How to send SMS in PHP? [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Sending SMS from PHP

I would like to make and develop a system module in my web site that has the feature of informing the customers with updates in their data stored in our database.

How I can do that in PHP ? what are the configuration and the code needed to accomplis开发者_JS百科h that ? Did anyone try that before ? what are the necessary steps needed to achieve that ? Do I need to subscribe in a Mobile Services Company to use and activate the service in my web site ? How much does it cost and how to do that ?

Thanks in Advance ..


You will need to look for costs by yourself because they depend on where you live. To send message I'd look for companies that make it for you. It will cost you around 15 cents for SMS.

If you want to make it by your own then look here http://www.sephiroth.it/tutorials/flashPHP/sms/ .


The answer depends on the volume of messages you expect to send. If it will be more than 10,000 per day, then you probably want to run your own SMS/WAP gateway using appropriate providers (i.e. connecting directly to the higher volume service providers). Note that running your own gateway will also facilitate the 2 other methods of sending messages - but in those cases you let a third party handle the routing.

For less than this, life will be a lot simpler if you rely on a service aggregator - they usually provide an SMTP or HTTP interface. The API details are usually specific to the aggregator.

While there are an increasing number of aggregators catering to the low volume market, if you're expecting to send less than 300 texts / month, then the most cost effective option may be to use a GSM modem (most modern mobiles will connect directly to a PC and act as such).

How much it costs depends on where you are, where your customers are and the quality of service you require - but for a origin - billed SMS with low priority routing and reasonable volumes, expect to pay something in the region of 0.04-0.1 UKP).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜