Support Call Us 09246555511
Test Our Service | Enter Mobile Number   +91     

Code to send SMS in PHP



Code Sample:

<?php
//Enter your login username 
$username="xxxxxxx";

//Enter your login password 
$password="";

//Enter your text message 
$message="hello";

//Enter your Sender ID
$sender="";

//Enter your receiver mobile number
$mobile_number="XXXXXXXXXXX";

//Don't change below code use as it is
$url="https://www.bulksmsgateway.in/sendmessage.php?user=".urlencode($username)."&password=".urlencode($password)."&
mobile="
.urlencode($mobile_number)."&message=".urlencode($message)."&sender=".urlencode($sender)."&type=".urlencode('3');

$ch curl_init($url);

curl_setopt($chCURLOPT_RETURNTRANSFERtrue);

$curl_scraped_page curl_exec($ch);

curl_close($ch);

?>

Please note that some of the above code has been supplied to Bulk SMS Gateway 

by clients. As such, accuracy is not guaranteed by Bulk SMS Gateway.