You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im using EnvayaSMS 3.0.1 , so this line header("Content-Type: text/xml"); is header("Content-Type: {$request->get_response_type()}"); and its the same thing..
maybe it get wrong becouse i made function eg. send_sms() {
require_once "config.php";
require_once "EnvayaSMS.php";
$request = EnvayaSMS::get_request();
but when i put require_once "config.php";
require_once "EnvayaSMS.php"; out from function send_sms()
i get error on web page, but no error on app log. :S
I have these error on application log when it checking messages.
I also use only these code as server URL/sms.php only outgoing sms
require_once "config.php";
require_once "EnvayaSMS.php";
//$request = EnvayaSMS::get_request();
header("Content-Type: text/xml");
$porr = new EnvayaSMS_OutgoingMessage();
$porr->id = $idall;
$porr->to = $_POST['mobile'];
$porr->message = $_POST['message'];
$porr->type= 'sms';
The text was updated successfully, but these errors were encountered: