<?php
$user="demodemo";
$mob_no = "919090909090";
$pwd="demodmeo";
$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>
curl_exec($ch);
// close cURL resource, and free up system resources
curl_close($ch);
?>
Note : Please note that some of the above code has been supplied to SMSGATEWAYHUB by clients. As such, accuracy is not guaranteed by SMSGATEWAYHUB
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article