PHP : 如何在短信中显示完整的超链接

PHP : How to show complete hyperlink in sms

我在 PHP http://s.test.com?v=ccc but in sms it only show http://s.test.com as a hypelink missing ?v=ccc part . how can I make it show this whole http://s.test.com?v=ccc 中使用 twilio 短信服务向手机发送短信作为短信中的超链接?

这是我用来发送短信的代码:

function sendText($number, $id, $product_domain)
{
  $short_url = 'http://s.'. $product_domain .'.com?v='.$this->toBase($id);

  $client = new Services_Twilio(TWILIOSID, TWILIOTOKEN);
  $client->account->messages->sendMessage("123-4567-9870", $number,
"Your Scope is complete ".$short_url."  Customer Service  877.697.2673 . To disable this service reply with \"stop\"");
 }

这个$short_url将生成为http://s.test.com?v=ccc

http://s.test.com?v=ccc 更改为 http://s.test.com/?v=ccc 解决了我的问题。