PHP and 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
puraskar
Forum Newbie
Posts: 9
Joined: Thu Oct 12, 2006 12:42 pm

PHP and SMS

Post by puraskar »

Hi There,

I need to write code in PHP with mysql to send a SMS in clients mobile when somebody request something through his website.

I've no idea where shall I start? can anybody help me?? Can we write some trigger in mysql or is there any script in PHP?

regards
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

most cell phones have an email address and you can just run a simple mail() call to send an email to that email address which will automatically get sms'ed to their phone. Don't know about anywhere else but here you have to enter a few codes into your phone before you can have it full working but its really really simple to setup.

just find out who is their cell phone provider and then google or browser their website to find out what each phones email is. it is generally something like PHONE_NUMBER@COMPANY_NAME.com
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

If the email address isn't an option then you'll have to pay for access to a messaging gateway. You could buy your own but they're really expensive. http://www.clickatell.com/ is one of the biggest ones ... not that cheap though.
puraskar
Forum Newbie
Posts: 9
Joined: Thu Oct 12, 2006 12:42 pm

Expecting few more options

Post by puraskar »

Thanks very much..

these are great suggesstions..

I've at least strong clue now to start ahead.

But still expecting more options if anybody has got. Will appreciate anything you know.

many thanks
Post Reply