0

web api for sending sms is not working

i have code written in the file mydb.php in my server

and i included path of this file in tropo app

and code inside this file is

require 'tropo.class.php';
$tropo = new Tropo();

$say = "Remember, you have a meeting at 2 PM.";
$params = array(
'say' => $say,
'to' => '+16613420331',
'name' => 'foo'
);
$tropo->message("got it.", $params);

 

 

7 comments

Please sign in to leave a comment.