ULTOO SMS API (coded by Kumar Lekhu)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ULTOO SMS API (coded by Kumar Lekhu)

    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/

    PHP Code:
    <?php
    // Made by KUMAR LEKHU
    CONTACTkrlekhu@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($chCURLOPT_URL,"http://ultoo.com/login.php");    
            
    curl_setopt($chCURLOPT_USERAGENT$agent);
            
    curl_setopt ($chCURLOPT_HTTPHEADER, Array("Content-Type: application/x-www-form-urlencoded","Accept: */*"));
            
    //curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_fie_path);
            
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
    curl_setopt$chCURLOPT_AUTOREFERER1);
            
    curl_setopt($chCURLOPT_FOLLOWLOCATION1);
            
    curl_setopt($chCURLOPT_SSL_VERIFYPEER0);
            
    curl_setopt($chCURLOPT_POSTtrue);
            
    curl_setopt($chCURLOPT_POSTFIELDS"LoginMobile=$username&LoginPassword=$password&RememberMe=1&submit2=LOGIN HERE");
            
    $html=curl_exec($ch);
            
    curl_setopt($chCURLOPT_URL,"http://ultoo.com/home.php");    
            
    curl_setopt($chCURLOPT_USERAGENT$agent);
            
    //curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
            
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
    curl_setopt($chCURLOPT_FOLLOWLOCATION1);
            
    curl_setopt($chCURLOPT_HEADER1);
            
    curl_setopt($chCURLOPT_SSL_VERIFYPEER0);
            
    curl_setopt($chCURLOPT_SSL_VERIFYHOST2);
            
    curl_setopt($chCURLOPT_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;
                    } 
        
    ?>
    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.....
    Attached Files
    Last edited by krlekhu; 18.09.12, 17:56.

    #2
    hai bro, does this support all the networks world wide????


    I'm Proud to be a Sri Lankan!

    Comment


      #3
      Im having some difficulties in register. Invalid mobile number. I tried out all format. Im in philippines.

      Comment


        #4
        Thanks! surely gonna try it out

        Comment


          #5
          Thanks a lot bro, gonna try it now.

          Comment


            #6
            suggest any curl hosting website as i think my hosting 3owl don't support it....
            Last edited by Simran Kamboj; 08.09.12, 10:55.

            Comment


              #7
              Originally posted by Simran Kamboj View Post
              suggest any curl hosting website as i think my hosting 3owl don't support it....
              Thanks!!! You can try our Paid hosting for free.....
              I am giving hosting to you for free because You Liked My Script....

              Kindly mail your mail id to lekhu.in@gmail.com
              I will give you a unlimited paid hosting for free.....

              Comment


                #8
                Originally posted by krlekhu View Post
                Thanks!!! You can try our Paid hosting for free.....
                I am giving hosting to you for free because You Liked My Script....

                Kindly mail your mail id to lekhu.in@gmail.com
                I will give you a unlimited paid hosting for free.....
                bro I have just modified your script to send upto 50sms/clicks.
                PHP Code:
                <?php


                $counter 
                0;
                $start 1;

                for(
                $start$start 30$start++) {

                    
                $username="7377784794"
                    
                //replace the mobile number with your ultoo id
                    
                $password="12345"
                    
                //replace the password with your Ultoo password
                    
                $recipitant="9995553331"
                    
                $message=urlencode("hi");

                    
                $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($chCURLOPT_URL,"http://ultoo.com/login.php");    
                            
                curl_setopt($chCURLOPT_USERAGENT$agent);
                     
                curl_setopt ($chCURLOPT_HTTPHEADER, Array("Content-Type: application/x-www-form-urlencoded","Accept: */*"));
                            
                curl_setopt($chCURLOPT_COOKIEJAR$cookie);
                            
                curl_setopt($chCURLOPT_RETURNTRANSFER1);
                            
                curl_setopt$chCURLOPT_AUTOREFERER1);
                            
                curl_setopt($chCURLOPT_FOLLOWLOCATION1);
                            
                curl_setopt($chCURLOPT_SSL_VERIFYPEER0);
                            
                curl_setopt($chCURLOPT_POSTtrue);
                            
                curl_setopt($chCURLOPT_POSTFIELDS
                    
                "LoginMobile=$username&LoginPassword=$password&RememberMe=1
                    &submit2=LOGIN HERE"
                );
                            
                $html=curl_exec($ch);
                       
                curl_setopt($chCURLOPT_URL,"http://ultoo.com/home.php");    
                            
                curl_setopt($chCURLOPT_USERAGENT$agent);
                            
                //curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
                            
                curl_setopt($chCURLOPT_COOKIEJAR$cookie);
                            
                curl_setopt($chCURLOPT_RETURNTRANSFER1);
                            
                curl_setopt($chCURLOPT_FOLLOWLOCATION1);
                            
                curl_setopt($chCURLOPT_HEADER1);
                            
                curl_setopt($chCURLOPT_SSL_VERIFYPEER0);
                            
                curl_setopt($chCURLOPT_SSL_VERIFYHOST2);
                            
                curl_setopt($chCURLOPT_POSTFIELDS"MessageLength=140
                     &MobileNos=
                $recipitant&Message=$message&SendNow=Send Now");
                              
                $html curl_exec($ch);
                    if(!
                strstr($html,"successfully..."))
                             {
                     
                         
                $cont="";
                       echo 
                $cont;
                                  }
                              else
                            {

                $cont=" ".$recipitant;

                  echo 
                $cont;

                                }


                $counter $counter 1

                print 
                "Message Send";

                }
                ?>
                (change the start < 30 to 51)
                for others who need hosting may try host1free vps (install php,wftp) and host.

                script will automatically send the no of sms you assigned, it takes 50secs to execute. So after 1min of sending chk balance :-)
                Last edited by metulj; 09.09.12, 06:49.

                Comment


                  #9
                  does it works world wide ? i mean sending sms world wide and register through any number ?

                  Comment


                    #10
                    can u modify the script so that our bal shows after sms sending?

                    Comment


                      #11
                      which country can use this?

                      Comment


                        #12
                        Originally posted by hi_jakkk View Post
                        which country can use this?
                        this can be used in India

                        Comment

                        Working...
                        X