tebrown Posted March 23, 2012 Share Posted March 23, 2012 Hey guys im looking at doing a project that involves sending SMS(Text Message) from an online website. Im just wondering how hard it is to setup using php? For example: If i have registered user (manager) and i want to send a SMS to my team mates from the website itself, how hard would this be? Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/ Share on other sites More sharing options...
kicken Posted March 24, 2012 Share Posted March 24, 2012 Some cell phone companies will allow you to send a text by sending an email to a special address. Usually theNumber@somedomain.com. An easy what to find out which email you need to use is to send a text from your phone to your email and see who it is from. If you want to be able to send a text to any number regardless of provider, then you'll have to either get a gateway or pay for a service and use their api. Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330617 Share on other sites More sharing options...
tebrown Posted March 24, 2012 Author Share Posted March 24, 2012 The project that i am working on will allow the manager to send messages to his squad members (15 or so players) from some kind of form. If this is the case will i have to use a gateway? Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330621 Share on other sites More sharing options...
timmah1 Posted March 24, 2012 Share Posted March 24, 2012 Like kicken said, most, it not all cell companies allow you to send messages to phones with the companies email. Here's a list of cell providers w/emails http://www.sensiblesoftware.com/weblog/2011/02/28/cell-phone-email-addresses/ Ex: [email protected] [email protected] Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330622 Share on other sites More sharing options...
tebrown Posted March 24, 2012 Author Share Posted March 24, 2012 I dont think where im from (New Zealand) has it... So i would have to go with a gateway. Would the gateway be like an API that i would add to my site or something? Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330626 Share on other sites More sharing options...
dragon_sa Posted March 24, 2012 Share Posted March 24, 2012 Yes the gateways provide API and you can also do it from email, there are plenty of gateways here is 1 I use for example www.160.com.au Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330628 Share on other sites More sharing options...
tebrown Posted March 24, 2012 Author Share Posted March 24, 2012 Ah ok then, its just that ive never really used API's before and not sure how to go about installing them into my own php etc... Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330633 Share on other sites More sharing options...
dragon_sa Posted March 24, 2012 Share Posted March 24, 2012 They have documentation on how to do it, also you can always generate an email in php to send the sms messages, but the api is better, it can give you account balance, how many messages you sent etc Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330642 Share on other sites More sharing options...
tebrown Posted March 24, 2012 Author Share Posted March 24, 2012 Ah ok then thanks for that. I pretty much just need a form that i will be able to select multiple players from a list then send them a sms. Dont really need the account balance etc... Quote Link to comment https://forums.phpfreaks.com/topic/259591-send-sms-from-a-website/#findComment-1330643 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.