Ultoo.com is a website which gives an oppertunity to earn recharge by sending free sms. It is very easy. Just sign up here and start sending sms. You will get 2ps/each sms. Now we are giving the php curl script to send sms through Ultoo.com. This ultoo sms api is very useful for web developers. they can use this ultoo sms api for sending free sms from their own website. we are using php curl script to send sms through ultoo. the main drawback of ultoo is, only 50 sms are allowed per day.
Let us discuss it deaply. first we use the curl script to login to your ultoo account. the script submits username and password to the login form. Then on the user’s home page, we submits the receipient’s mobile number and the message using the php and curl script.
Register Here : Ultoo.com and Get Your pass.
DEMO : http://ultoo.lekhu.in/
http://ultoo.lekhu.in/
The ultoo sms script is very easily can be implemented. You can also integrate it with a form which submits receipient’s mobile number and message to this ultoo sms script. every one is searching for this script because the earning through ultoo become very easier.
I request You All Coder to Modify It So That It Can Perform More Smoothly.....
Let us discuss it deaply. first we use the curl script to login to your ultoo account. the script submits username and password to the login form. Then on the user’s home page, we submits the receipient’s mobile number and the message using the php and curl script.
Register Here : Ultoo.com and Get Your pass.
DEMO : http://ultoo.lekhu.in/
http://ultoo.lekhu.in/
PHP Code:
<?php
// Made by KUMAR LEKHU
CONTACT- krlekhu@gmail.com
website- www.Lekhu.in & www.DjGhai.com & Www.OdiaDhoom.net
Demo- http://ultoo.lekhu.in/
$cookie = tempnam ("/tmp", "CURLCOOKIE");
$username=$_REQUEST["username"];
$password=$_REQUEST["password"];
$tomobno=$_REQUEST["tomob"];
$message=rawurldecode($_REQUEST["message"]);
$agent = "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://ultoo.com/login.php");
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
curl_setopt ($ch, CURLOPT_HTTPHEADER, Array("Content-Type: application/x-www-form-urlencoded","Accept: */*"));
//curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_fie_path);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt( $ch, CURLOPT_AUTOREFERER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "LoginMobile=$username&LoginPassword=$password&RememberMe=1&submit2=LOGIN HERE");
$html=curl_exec($ch);
curl_setopt($ch, CURLOPT_URL,"http://ultoo.com/home.php");
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
//curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_POSTFIELDS, "MessageLength=140&MobileNos=$tomobno&Message=$message&SendNow=Send Now");
$html = curl_exec($ch);
if(!strstr($html,"successfully..."))
{
$cont="Your message has been successfully Sent";
echo $cont;
}
else
{
//echo $content;
$cont="Invalid to mobile number";
echo $cont;
}
?>
I request You All Coder to Modify It So That It Can Perform More Smoothly.....
Comment