SMS in PHP

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
youropensource
Forum Commoner
Posts: 26
Joined: Tue Aug 05, 2008 11:42 am

SMS in PHP

Post by youropensource »

how to send the SMS from the website?
please give me the sample source code for this If you have the code.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: SMS in PHP

Post by yacahuma »

dont you send an sms by just sending an email?
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: SMS in PHP

Post by novice4eva »

Humm i wanted to do something like this. I found an article that might help.
http://www.developershome.com/sms/howTo ... romPC4.asp.
youropensource
Forum Commoner
Posts: 26
Joined: Tue Aug 05, 2008 11:42 am

Re: SMS in PHP

Post by youropensource »

novice4eva wrote:Humm i wanted to do something like this. I found an article that might help.
http://www.developershome.com/sms/howTo ... romPC4.asp.
hmm... looks in to mycantos.com site. you can send the sms from the site over India. If send the message from the site, the receiver will get message like as follows,
"From : MYCantos
Message: Your Message here.."

I guess mycantos.com purchase the bulk sms from AIRTEL or other provider right ?
If yes, how to develop the code in PHP. otherwise I'am not sure.

I can develop the sending SMS in JAVA or VB application but I'm not sure whether it is possible
in Web-based Applications (PHP or Asp.net) ?
User avatar
pavanpuligandla
Forum Contributor
Posts: 130
Joined: Thu Feb 07, 2008 8:25 am
Location: Hyderabad, India

Re: SMS in PHP

Post by pavanpuligandla »

I can develop the sending SMS in JAVA or VB application but I'm not sure whether it is possible
in Web-based Applications (PHP or Asp.net) ?
i think u can only develop those applications using php or asp or jsp.
herez the link, i tried it working well without any issues..
try this one..
http://www.ozekisms.com/php-sms-api-rec ... 24opt.html
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: SMS in PHP

Post by novice4eva »

pavanpuligandla that was a nice article, thanks. But it seems the SMS is getting into a textfile and then read into PHP, not a mobile to mobile thing. Correct me if i am wrong. I am certain that in order to do such thing we have to have some sort of access to the mobile corporation or SMS server(if there is such thing :mrgreen: ) or something of that nature, costing us a fortune!! As lots of article suggests, we can buy the number of SMS that we can send in cheaper rate, that seems to be the only way out :cry:
youropensource
Forum Commoner
Posts: 26
Joined: Tue Aug 05, 2008 11:42 am

Re: SMS in PHP

Post by youropensource »

novice4eva wrote:pavanpuligandla that was a nice article, thanks. But it seems the SMS is getting into a textfile and then read into PHP, not a mobile to mobile thing. Correct me if i am wrong. I am certain that in order to do such thing we have to have some sort of access to the mobile corporation or SMS server(if there is such thing :mrgreen: ) or something of that nature, costing us a fortune!! As lots of article suggests, we can buy the number of SMS that we can send in cheaper rate, that seems to be the only way out :cry:
I guess you're thought is right
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: SMS in PHP

Post by novice4eva »

novice4eva wrote:But it seems the SMS is getting into a textfile and then read into PHP, not a mobile to mobile thing.
friends let me correct there, it is not mobile to mobile thing, which already exists, i meant PHP to mobile!! Bear with me here: i posted the flawed comment in here, then i continued my work at office for say 4 - 5 hours, then went back to home, watched a horror movie "SHUTTER", played monopoly games 3 times in my mobile - lost 2 of them, had a nice sleep and THIS MISTAKE IS WHAT I RECALL THE VERY MOMENT I WAKE UP 8O I know this post is not the place to discuss these things, but trust me when i say that this has happened to me more than once...i don't mean to sound hypochondriac, is it normal at all??? What i if i get married and the next morning i realize that the girl does not look like the one i was supposed to marry :dubious: hehehe
youropensource
Forum Commoner
Posts: 26
Joined: Tue Aug 05, 2008 11:42 am

Re: SMS in PHP

Post by youropensource »

anyone help me ?
User avatar
pavanpuligandla
Forum Contributor
Posts: 130
Joined: Thu Feb 07, 2008 8:25 am
Location: Hyderabad, India

Re: SMS in PHP

Post by pavanpuligandla »

hii..
yes it is not from mobile to mobile..its from a pc to mobile to say.
the text messages were read by php.. i think there are no such php programs as far as my knowledge.but heard about emergency mass notification system which uses the above said article.
one thing u've to do is to maintain a DB of user's mobile numbers. so that u can send them mass notifications.

i can provide another link, which u'll get more information for further study..

http://www.3nonline.com/demos
http://www.e2campus.com/my/seattleu/signup.htm

hope these may help u..
please do post if u find more about php sms.
Many Thanks,
Pavan Puligandla.
Post Reply