By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,453 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,453 IT Pros & Developers. It's quick & easy.

How to send SMS notification messages via PHP?

Expert Mod 100+
P: 2,330
I am trying to setup SMS messaging for a clients app. It's a simple add on where the client will be alerted if certain actions are taken by a user of the application.

How would i set this up?
Do I need special hardware?
Are there third party libraries I can use?
Do i need to signup for a gateway?
Can i get some recommendations for any of these if they are required?
May 24 '10 #1
Share this Question
Share on Google+
4 Replies

Expert 5K+
P: 5,000
Looks like you may be able to take advantage of the email to SMS gateway of most major carriers:

May 25 '10 #2

Expert 5K+
P: 6,050
Otherwise you'll have to purchase an SMS gateway. I've never used one, so I can't help :(
May 25 '10 #3

P: 1
You need to connect your application to SMS Gateway. Most SMS gateways provide external API which can be used to do that. They usually have documentation which you can use to find out how to integrate SMS notification in your PHP code. Unfortunately there are no reliable free sms service provides so you have to pay for this sms service. You can check which seems to work a lot easy. Their integration code is pretty simple

$SMSLIB["phone"] = '44111222333'; // your phone number
$SMSLIB["key"] = 'abcdefghijklmnopqrs'; // your personal API code
include("smslib.php"); // we will provide you with smslib.php file
sendSMS("test message", $SMSLIB["phone"]); // function which sends the message
Aug 31 '11 #4

P: 6
Yes, I also suggest you to use an SMS gateway, such as Ozeki NG SMS Gateway!
Feb 20 '14 #5

Post your reply

Sign in to post your reply or Sign up for a free account.