Page: Program_Root/web/sms-handler.php
Classes defined on this page:
Include Statements Summary
|
INCLUDE TYPE | INCLUDED FILENAME | DESCRIPTION |
VARIABLE NAME | VARIABLE VALUE | DESCRIPTION |
CONSTANT NAME | CONSTANT VALUE | DESCRIPTION |
Include Statements Detail
|
storeSMS
(line 33)
void storeSMS(
mixed $params)
$Id: sms-handler.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $
This page handles incoming SMS posted by the gateway.
Incoming SMS are in this example only serialized to a file 'sms.arr' for simplicity describing one way to handle posts made by the gateway.
Preferrably the messages should be stored in a database.
NOTE! To make this work, the user that runs the webserver must have proper privileges to write to the file 'sms.arr' which will end up in '_DOCROOT', see 'config.inc'.
This page is and should be considered as a SAMPLE and not to be used in a production environment.
- Function Info:
- author -
Magnus Rosenquist, Zyneo
[ Top ]