$mob_no = "919090909090";


$msg="hi%20everyone"; //your message

$str = trim(str_replace(' ', '%20', $msg));


// create a new cURL resource

$ch = curl_init();

// set URL and other appropriate options

curl_setopt($ch, CURLOPT_URL,$url);

// grab URL and pass it to the browser</div>


// close cURL resource, and free up system resources



Note : Please note that some of the above code has been supplied to SMSGATEWAYHUB by clients. As such, accuracy is not guaranteed by SMSGATEWAYHUB