Page: Program_Root/web/sms-handler.php

Classes defined on this page:


Include Statements Summary
INCLUDE TYPEINCLUDED FILENAMEDESCRIPTION


Global Variable Summary
VARIABLE NAMEVARIABLE VALUEDESCRIPTION


Constant Summary
CONSTANT NAMECONSTANT VALUEDESCRIPTION


Function Summary
void storeSMS ( $params )
$Id: sms-handler.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $

Include Statements Detail

Global Variable Detail

Constant Detail

Function 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 ]




Documention generated on Mon, 31 Mar 2003 10:17:47 +0200 by phpDocumentor 1.2.0rc1