mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-06-29 07:55:40 -04:00
log all SMS messages/responses into database (note creation of new 'texts' MySQL table! included in updated db_structure.sql)
This commit is contained in:
@ -44,6 +44,8 @@ if($subject_id == "multiple") {
|
||||
$response = "Invalid command. " . $help;
|
||||
}
|
||||
|
||||
logSMS($_REQUEST['Body'], $response, $_REQUEST['From']);
|
||||
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>';
|
||||
?>
|
||||
<Response>
|
||||
|
Reference in New Issue
Block a user