I am sending sms to mobile using twilio sms service in 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 as a hyperlink in sms ?
This is the code I am using to send sms :
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\"");
}
This $short_url
will be generated as http://s.test.com?v=ccc
将http://s.test.com?v=ccc
更改为http://s.test.com/?v=ccc
解决我的问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.