<?php
	$sendsms="01716040789";
	$message="hello from ashiq";
	
	$to=$sendsms;
        //	$token = "79432c9e0afad786d880b96957985439";
        //	$message = strip_tags($msg_box);
        
        //	$url = "http://sms.greenweb.com.bd/api.php";
        // 	$url = "https://vas.banglalinkgsm.com/sendSMS/sendSMS/";
        // 	$data= array(
        // 	'msisdn'=>"$to",
        // 	'message'=>"$message",
        // 	'userID'=>"SgroupBLsms",
        // 	'passwd'=>"32eec9ea89ba1af42b5f3e6b8d179180",
        // 	'sender'=>"Saimon Grp"
        // 	); 
        // 	// Add parameters in key value
        // 	$ch = curl_init(); // Initialize cURL
        // 	curl_setopt($ch, CURLOPT_URL,$url);
        // 	curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
        // 	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        // 	$smsresult = curl_exec($ch);
        	
        	$url='https://vas.banglalinkgsm.com/sendSMS/sendSMS?msisdn='.$to.'&message='.$message.'&userID=SgroupBLsms%20&passwd=32eec9ea89ba1af42b5f3e6b8d179180&sender=SaimonGrp';
        $url = preg_replace("/ /", "%20", $url);
        $response = file_get_contents($url);
        	echo $response; 
?>        	