Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending text messages in PHP

Status
Not open for further replies.

KingSlick

Programmer
Mar 9, 2007
45
US
Is it possible? and if so, how?
 
Sending to what? a cell phone? a webpage? As emails what exactly?

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
the answer is yes. by a number of different methods (as vacunita hints at)

1. you can create a serial interface to a phone that supports the AT character set for sending sms and use php to send information down the serial link (or control a com object that does this)

2. or, much easier, you can use an internet gateway service such as aql.com. for this service you can use php to post information to the aql gateway. it may also support a get method too. their api is published, of course.
 
that would be the serial interface option I proposed. the datacables typically emulate a serial port, in my experience anyway.
 
One of my websites actually does this for me.

I redirect to redsms with a string that includes the username, password, phonenumber & message. Works a treat.


Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top