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

Code to send SMS in PHP



Code Sample:

<?php

   $username
="xxxxxxx";
   
$password="";

$message="hello";

$sender="";
$mobile_number="XXXXXXXXXXX";
$url="http://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.