Hello friends ajj me apko btaunga ki kis parkar aap mvaayoo api ka use karke php website me sms send kar sakte ho localhost ya webshosting se.
Steps-
1-https://www.mvaayoo.com
2-ab aap is website par account bana lijiye
Apka account create hone ke bad mvaayoo ki traf se apki email id par apki login detail email id and password a jayegi .
3-apko sirf wanha se apni email id and password ko niche diye gye code me paste karna hai.
Itna karte he ap mvaayo api ka use karke sms send kar sakte ho.
Mvayoo company ki traf se apko 20 msg free of cost provide kiye jate hai jinka use aap testing ke liye kar sakte ho.
Index.php
<?php
$ch = curl_init();
$user="enter your account email id here:enter your password here";
$receipientno="enter reciver mobile number here";
$senderID="TEST SMS";
$msgtxt="this is test message , test";
curl_setopt($ch,CURLOPT_URL, "http://api.mVaayoo.com/mvaayooapi/MessageCompose");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "user=$user&senderID=$senderID&receipientno=$receipientno&msgtxt=$msgtxt");
$buffer = curl_exec($ch);
if(empty ($buffer))
{ echo " buffer is empty "; }
else
{ echo $buffer; }
curl_close($ch);
?>
App mavayoo api key ka use karke other features jese audio ,multimedia msg,check balance etc ka be use kar sakte ho-.
Aap mvayoo account me login ho jaiye wanha se apko bakki sare features ke code asani se mil jayege .
Agar apko koi be problemaye mvayooo acoount me to aap comment me puch sakte ho
Thank you
Team gajbwap web in hindi
2 comments
Click here for commentsThanks for sharing this information. PHP is the easiest to learn the language and most used language for making websites. Bulk SMS API PHP is another great innovation on the grounds of the php world.
ReplyGet multiple bulk SMS API on our platform Msgclub. Some of the widely use APIs are php, JAVA, HTTP, XML and JSON
ReplyConversionConversion EmoticonEmoticon