Current Path : /var/www/html/social/ |
Current File : /var/www/html/social/send_sms.php |
<?php error_reporting(E_ALL); $message='THIS A Group TEST SMS'; $msg_id=1;//time(); $url="http://promo.solutionsinfini.com/api/web2sms.php?workingkey=52807ycp9uh9y5t5i27h&to=9582033134&sender=BULKSMS&&message=".urlencode($message); $ch=curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $output=curl_exec($ch); curl_close($ch); return $output; //echo 'hello'; ?>