How To Send Sms From Website Using Php-Bulk SMS


Hello Friends Ajj Me Apko Btaunga Ki Kis Prakar Aap Apni Website Me Free Sms Send Ka Option Integrate Kar Sakte Ho.

bulk sms provider
Bulk sms in India-Best company

Iske Liye Apko Sabse Pehle  Https://Www.Textlocal.In/SignupPar Signup Karke Account Create Karna Hai.Ye Ek Achi bulk sms provider company hai·         Account Create Hone Ke Bad Aap Apna Username And Password Enter Karke Apne Dashboard Me Login Ho Jaiye(textlocal login)·         Yanha Apko Text Local Company Dwara 10 Meassge Free Testing Ke Liye Diye Jayege
·         Aap Sms Plan Buy Kar Sakte Ho Is Company Dwara Bhut He Kam Prize Me Sms Pakage,plan provide  Kiye Jate Hai
Textlocal Price Plans –

sms plans and pricing


 index.php
<?php




if(isset($_POST['code']) &&  isset($_POST['mobile'])){


// Authorisation details.
$username = "enter your textlocal account email id here";
$hash = "enter Your HaSh value here You Will Get It from your textlocal account ";


// Config variables. Consult http://api.textlocal.in/docs for more info.
$test = "0";


// Data for text message. This is the text message data.
$sender = "TXTLCL"; // This is who the message appears to be from.
$numbers=$_POST['code'].$_POST['mobile'];
$message = $_POST['msg'];
// 612 chars or less
// A single number or a comma-seperated list of numbers
$message = urlencode($message);
$data = "username=".$username."&hash=".$hash."&message=".$message."&sender=".$sender."&numbers=".$numbers."&test=".$test;
$ch = curl_init('http://api.textlocal.in/send/?');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch); // This is the result from the API


if($result == true){


echo "mesage is sent";
}


curl_close($ch);
}
?>


<html>
<head>
<title>  Online Send Sms </title>




</head>
<body>


<center>
<h1>Online Send Sms From Website</h1>
<form action="" method="post">


<select name="code">
<option value="91">india 91 </option>
<option value="1"> india +1 </option>


<select><br><br>
<input type="text" name="mobile" placeholder="Mobile"><br><br>


<input type="text" name="msg" placeholder="Msg"><br><br>
<input type="submit" name="submit" value="submit"/>


</form>
</center>
</body>
</html>




 Apko Yanha  Sirf 2 Place Me Changes Karne Hai
·         $Username-Yanha Apne Textlocal Account Ki Email Id Enter Kijiye
·         $Hash –Yanha Apne Account Ki Hash Value Enter Kijiye Ye Hash Value Apko Apne Account Me Milegi

Hash Value Kese Pata Kare-
·         Sabse Pehle Apne Account Me Login Kar Lijiye
·         Ab Help Par Click Kijiye
·         Ab App  Documentation Par Click Kijiye
·         Yanha Apko Apki Hash Key Mil Jayegi Wanha Se Hash Key Ko Copy Krke Is Code Me Hash Value Ke Samne Apne Hash Key Ko Paste Karke Save Kar De Code Ko
api hash

Ab Aap or apke visitor easily apki Website se Mobile par sms Bhej sakte hai .
Demo-Send Sms Free
Me ummid karta hu ki apko mere ye post achi lagi hogi agar apko koi be problem a rhe hai post se related to aap mujse Comment  section me Puch sakte hai
Me apki puri Sahayta Karne ki Koshish Karunga
Thank You
Team Gajabwap Web In Hindi

Previous
Next Post »
Thanks for your comment