Jump to content

Send Text Messages To Phones Using PHP?


Punk Rock Geek

Recommended Posts

My goal is to be able to enter text into a form, click submit, and then that text will be sent to every phone number I have entered into a database.  The actual coding for this part doesn't sound too complicated.

 

The problem is to do with something called an "SMS Gateway."  I have no idea of what that is.  I don't know what it does.  I don't know how or where to install it.  But apparently, I need one?

 

I came across a free one from Kannel.org.  It was only after I read the installation instructions did I notice that this probably isn't what I want.

 

2.4 How do I unpack and compile the gateway?

These instructions work with Linux systems, but should be generic enough for other Unix-like systems:

gunzip < gateway-VERSION.tar.gz | tar xvf -

cd gateway-VERSION

./configure

make

 

(Replace `VERSION' with the version number of the gateway you downloaded.)

 

Kannel's program is made in C++, and I need something PHP specific.  Is anyone able to help me out here?  Do I need a SMS Gateway, and if so, do you have any recommendations?

Link to comment
Share on other sites

It depends in which country you live... Here in the netherlands i use such a SMS gateway... it works by signing up to their site, by which you obtain an username and password.

 

When you wanna send a sms, you just post a XML to their service with the username + password and contents of the sms, and they will deliver it to the phone.

 

should be easy to find, just type sms-gateway <country> in google and it should send you to the proper spot

 

cheers

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.