diff --git a/server/php/EnvayaSMS.php b/server/php/EnvayaSMS.php index 619fac0..d2ff8e9 100755 --- a/server/php/EnvayaSMS.php +++ b/server/php/EnvayaSMS.php @@ -22,7 +22,7 @@ class EnvayaSMS static function escape($val) { - return htmlspecialchars($val, ENT_COMPAT | ENT_XML1, 'UTF-8'); + return htmlspecialchars($val, ENT_COMPAT, 'UTF-8'); } private static $request; diff --git a/server/php/example/www/test.html b/server/php/example/www/test.html new file mode 100755 index 0000000..b8e5bd0 --- /dev/null +++ b/server/php/example/www/test.html @@ -0,0 +1,445 @@ + + + + + + +

EnvayaSMS Request Simulator

+
+ + + + + +
Server URL
Phone Number
Password
Action
+ +
+

Parameters for action=incoming:

+ + + + + +
From Phone Number
Message Type
Message
Timestamp
+
+ + + + + + + + + +
+ +
+
+

+

+
+ + \ No newline at end of file