I need some help in SMS

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stewards
Forum Newbie
Posts: 3
Joined: Sat Jun 22, 2013 9:32 am

I need some help in SMS

Post by stewards »

Hi, This is my first time here to post,can i ask some help,I am developing website and i need to integrate the SMS messages in my site,but i have no idea on this in sending sms messages to my client,can anyone have a grateful heart to help me or have some big ideas on this.

More inputs will be greatly appreciated :)
User avatar
mecha_godzilla
Forum Contributor
Posts: 375
Joined: Wed Apr 14, 2010 4:45 pm
Location: UK

Re: I need some help in SMS

Post by mecha_godzilla »

Hi,

You need to sign-up for an account with an SMS gateway provider - each gateway will have its own API that you'll need to use to send messages through it, but most gateway providers will have a PHP library available that you can incorporate in your scripts.

Just search for "sms gateway" on your favourite search engine to find details of SMS gateway providers in your country, but keep in mind that tariffs will vary and you'll need to calculate the expected usage to make sure that your client has the budget to support it. There are free SMS gateway providers available but you can't expect to use them to send thousands of SMSs every day - in all likelihood, they'll probably block your server's IP address if you send too many.

HTH,

Mecha Godzilla
stewards
Forum Newbie
Posts: 3
Joined: Sat Jun 22, 2013 9:32 am

Re: I need some help in SMS

Post by stewards »

Hi Mecha Godzilla, First of all thank you for the quick reply...That's good there's free sms gateways,can you please tell me what are those free sms gateways...

Thank you in advance.
User avatar
mecha_godzilla
Forum Contributor
Posts: 375
Joined: Wed Apr 14, 2010 4:45 pm
Location: UK

Re: I need some help in SMS

Post by mecha_godzilla »

You just need to search for "free sms gateway" on a search engine - I've never used a free SMS gateway myself so I can't recommend any particular ones but (as an example) this service allows you to send 25 messages a day for free

http://www.earthsms.net/

while this service allows you to send 100 messages a month and you can upgrade to paid plans as and when you need to

http://www.freesmsgateway.com/

HTH,

M_G
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: I need some help in SMS

Post by Eric! »

You can also send sms as email. For example for AT&T phones it is phone_number@txt.att.net.

Here's a huge list of SMS Gateways.
User avatar
mecha_godzilla
Forum Contributor
Posts: 375
Joined: Wed Apr 14, 2010 4:45 pm
Location: UK

Re: I need some help in SMS

Post by mecha_godzilla »

Eric! wrote:You can also send sms as email. For example for AT&T phones it is phone_number@txt.att.net.
Is there a way to work out which network the user is on based on what their phone number is? If so, you'd then just need a backup service for the networks that didn't support it.

I've just looked and there are also email-to-SMS gateway providers as well - you just send an email to something like 07777000000@email2sms.xxx and they'll deliver it for you. It looks like the prices are similar to the SMS gateways so it's just a different way of doing things I guess - at least you don't have to mess around with APIs if you only know how to send an email from your server :mrgreen: Actually, I'd be more inclined to go down the API route myself as you'd get immediate confirmation that the message has been received by the gateway provider.

M_G
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: I need some help in SMS

Post by Eric! »

I've really only used this to send stuff to myself. It was easier to pipe something through mail than to get an account/figure out the api/etc. But you're right an API would be better if it needed to be robust and send to a wide variety of numbers.
mani34
Forum Newbie
Posts: 1
Joined: Fri Sep 27, 2013 7:30 am

Re: I need some help in SMS

Post by mani34 »

Great product we see a lot of potential use in our organization.... Great work.
szurcsii
Forum Newbie
Posts: 2
Joined: Tue Mar 25, 2014 1:22 am

Re: I need some help in SMS

Post by szurcsii »

Hi Stewards,

With the help of an API you can integrate a sms solution to your website.
Check out the following link for a php example for sms sending / receiving: http://www.ozekisms.com/index.php?owpn= ... ms_example

I hope it will help you!
ElkinsLacombe
Forum Newbie
Posts: 1
Joined: Wed Nov 05, 2014 12:04 am

Re: I need some help in SMS

Post by ElkinsLacombe »

Well I do not have much idea about adding api with websites for sms gateway. But I think if you need sms api for your business purpose then there many sms api service provider like experttexting.com who are serving sms api for business. May these service providers are help you.
Post Reply