1

我是初学者。

我想向 osclass 中的新用户发送欢迎短信,在每个页面上添加短信 API。如果有人知道“注册电子邮件发送”在哪里,我可以将它整合到那里。

我试过了,utils.php但它不起作用。

我的脚本是:

////SMS Start 

$name = osc_user_name();
$mobile = osc_user_phone_mobile();

$msgs = "Thank You $name, You have Successfully Registered with Classified123.";

$msgb = urlencode($msgs);

$stra ="http://sms.website.in/api/mt/SendSMS?user=user&password=pw&senderid=ABCDEF&channel=Trans&DCS=0&flashsms=0&number=$mobile&text=$msgb&route=15";

file_get_contents($stra);

/////SMS End
4

0 回答 0