mercredi 22 avril 2015

how do i fix nexmo text messages with + sign

i have this text message: Im using Laravel 4.2.

Im using Nexmo API Library Made for Laravel:

http://ift.tt/1Je6Ee4

PHP:

    $from = "MyCompany";
    $to   = "09096448797";
    $text = "Confirmation Code: 55555";

    Nexmo::getBalance();
    Nexmo::prices();
    Nexmo::sendSMS($from, $to, $text);

When i received message, i get this:

Confirmation+Code%30A+55555[NEXMO DEMO]

Somehow its replacing the special characters. spaces, semi colon.

Aucun commentaire:

Enregistrer un commentaire