mirror of
https://github.com/cwinfo/envayasms.git
synced 2024-11-08 18:00:27 +00:00
fix comments for php server example
This commit is contained in:
parent
aff22e51d8
commit
0a0f50ad18
@ -3,7 +3,7 @@ PHP server library for KalSMS, with example implementation
|
||||
|
||||
The KalSMS.php library is intended to be used as part of a PHP application
|
||||
running on an HTTP server that receives incoming SMS messages from, and sends
|
||||
outgoing SMS messages to an Android phone running KalSMS.
|
||||
outgoing SMS messages to, an Android phone running KalSMS.
|
||||
|
||||
To run the example implementation, the example/www/ directory should be made available
|
||||
via a web server running PHP (e.g. Apache). You can also use the included standalone
|
||||
|
@ -1,6 +1,10 @@
|
||||
<?php
|
||||
|
||||
// invoke from command line
|
||||
/*
|
||||
* Command line script to simulate sending an outgoing SMS from the server.
|
||||
*
|
||||
* The message will be queued on the server until the next time KalSMS checks for outgoing messages.
|
||||
*/
|
||||
|
||||
require_once __DIR__."/config.php";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Example standalone HTTP server that routes all .php URIs to PHP files under ./example_www,
|
||||
* and routes all other URIs to static files under ./example_www.
|
||||
* Example standalone HTTP server that routes all .php URIs to PHP files under ./www,
|
||||
* and routes all other URIs to static files under ./www.
|
||||
*
|
||||
* index.php is used as the directory index.
|
||||
*
|
||||
* Just run it on the command line like "php example_server.php".
|
||||
* Just run it on the command line like "php server.php".
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/httpserver/httpserver.php';
|
||||
|
@ -1,6 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__."/config.php";
|
||||
require_once __DIR__."/lib.php";
|
||||
|
||||
var_dump(get_outgoing_sms("16505551212"));
|
Loading…
Reference in New Issue
Block a user