Author |
Post |
|
#1 Sun Mar 07, 2010 15:00, 179 months ago.
|
Member
Registered: Feb 2010
Location: Raipur/Chattisgarh, India
|
I have 1 more question. I want to reply automatically whenever the gateway receives a SMS. how to do that? I mean is there a way using PHP?? i'm using PHP and mysql. When the gateway get a SMS in a specific format, i want to filter out specific words from the SMS and search the database, then send the result to the user.
Do i have to write all code for this in shell script? (Inside the eventhandler?) or any other method like in PHP or something like that?
Please guide me..
Thank you.
|
|
#2 Sun Mar 07, 2010 15:57, 179 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Eventhandler can be used to create an automatic reply. In many cases it's a shell script, but it depends on the user. Any language can be used to create an eventhandler, for example PHP. From the shell script you can also call a program written with PHP. This forum contains some sample code but these are shell scripts. Use the search for eventhandler to find those posts, like SMS Forwarding and Configuring filter.
|
|
#3 Sun Mar 07, 2010 16:30, 179 months ago.
|
Member
Registered: Feb 2010
Location: Raipur/Chattisgarh, India
Topic owner
|
Thank you very much for the reply. I'll try that.
|