我使用 plivo 发送消息。我没有得到任何适当的帮助或示例,所以如果有人可以提供,那就更好了。我已经尝试过https://github.com/plivo/plivo-examples-php ( send_sms_from_browser.php
) 但这对我不起作用。
无论如何我正在尝试运行演示 https://github.com/plivo/plivo-examples-php (send_sms_from_browser.php)
并获得以下输出,但我的手机上没有收到消息。所以请任何人都可以帮助我吗?
Sent Message info:
To: +91********** (i have added my mobile number here,so is that right?)
From: +91********** (i have added my second mobile number here,so is that right?)
Message: Message Text
Array
(
[status] => 202
[response] => Array
(
[api_id] => ***********
[message] => message(s) queued
[message_uuid] => Array
(
[0] => ***************
)
)
)
Notice: Undefined offset: 0 in /var/www/test/plivo-examples-php-master/send_sms_from_browser.php on line 38
Strict Standards: Only variables should be passed by reference in /var/www/test/plivo-examples-php-master/send_sms_from_browser.php on line 39
Message status: Sent
更新:
它现在可以工作了,因为我的号码在免打扰中。现在如何解决?有什么选择吗?