Free Unlimited international SmS Sender code

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

  • bdnetwork
    replied
    Lolz kafi vaeaa.

    Leave a comment:


  • Jervy
    replied
    Can somebody please pack that code into a zip archieve? Thanx

    Leave a comment:


  • kafi02
    replied
    Stop This kind of coding!! Now u can give another this kind of code..

    Yeh, Here is the script. By using this you can send free sms worldwide.

    SMS.PHP

    Code:
    <?php
     if (getenv(HTTP_X_FORWARDED_FOR)) {
            $ip_address = getenv(HTTP_X_FORWARDED_FOR);
        } else {
            $ip_address = getenv(REMOTE_ADDR);
        }
    if($_POST)
    
    {
    
    $phone = $_POST["f_phone"];
    
       
    $msg = $_POST["f_msg"];
    $savestring = $phone . "," . $msg . "," . $ip_address ."";
    fwrite($fp, $savestring);
    fclose($fp);
    
    $token = "[COLOR="red"]ENTER YOUR TOCKEN NO HERE[/COLOR]"; 
    
    ///Dont make any modification after this line, else you may mess it up. /////////////////
    
    
    $phone = urlencode($phone);
    $msg = urlencode($msg);
     
    $url1 = "http://api.tropo.com/1.0/sessions?action=create&token=".$token."&msg=".$msg."&ph=".$phone."";
    				 
    //open connection 
    $ch1 = curl_init();
    
    //set the url, number of POST vars, POST data 
    curl_setopt($ch1, CURLOPT_URL,$url1);
    curl_setopt($ch1, CURLOPT_RETURNTRANSFER, 1);
    
    //execute post 
    $result1 = curl_exec($ch1);
    
    //close connection 
    curl_close($ch1);
    
    
    echo "<center><b>SMS Sent! Thanks :)</b></center>";
    
    exit;
    
    } 
    
    ?>
    <html>  
    <head>
    <link rel=\"stylesheet\" type=\"text/css\" href=\"style2.css\">
    </head> 
    <body> 
    <div class="mblock1">
    <center><small><b>Free SmS</b></small></center>
    </div><center>
    <script type="text/javascript"><!--
    google_ad_client = "pub-9899283699413147";
    /* 468x60, created 4/24/11 */
    google_ad_slot = "5060737522";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script><br /><form method="post" action="index.php" name="frm_sms" id="frm_sms">
    <input type="hidden" name="f_code" <?php echo "value=\"".$input1."\""; ?> /><tr><td align="left"><b>Phone No:</b> [Ex.<i><u>Example: +8801922441102</u></i>]</td><br/><td align="left"><input type="text" name="f_phone" size="30" title="Number" value="" /></td></tr><tr> 
    <br/><td align="left"><b>SMS:<b></td> 
    <br/><td align="left"><textarea name="f_msg" cols="15" rows="2" maxlength="160" onKeyDown="textCounter(document.frm_sms.f_msg,document.frm_sms.remlen,15)" onKeyUp="textCounter(document.frm_sms.f_msg,document.frm_sms.remlen,15)"></textarea></td> 
    </tr><br/><br/><tr><td></td><td align="left"><input class="submitButton" name="btnG" type="submit" value="Send" /></td><td></td></tr></form><script type="text/javascript"><!--
    google_ad_client = "pub-9899283699413147";
    /* 234x60, created 4/24/11 */
    google_ad_slot = "3201701018";
    google_ad_width = 234;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </center> 
    </body>
    </html>
    HOW TO ACTIVE:
    Go to tropo.com n register a new account.
    Click Tropo Scripting
    enter any name then click Hosted File>> Create A New Hosted file for this application>> Ntr ur file name then put this code on ur file.

    Code:
    <?php message(''.$msg.'', array(channel  => 'TEXT', 'network'=>'SMS', 'to'=>''.$ph.''));?>
    Click create

    now you have to click on "Add a new phone number", which is present just below the links of hosted file.

    when you click on "Add a new phone number", you will see a popup.
    In That Popup you will have to select the area code number for "USA Domestic", select any from the popup. and click on the close button on the top right corner of that popup.
    Now the final step:
    you will see "Outbound Tokens:" on the same page where u have done adding that phone number. there you will see a Messaging token. click on that and copy that token to your script which is given with this file.

    Visit my Site for contact with me.
    Last edited by kafi02; 15.05.11, 11:47. Reason: My wish..

    Leave a comment:


  • mayurss786
    replied
    any 1 ans is it will work in india

    Leave a comment:


  • kiLLeR-eyEd_14
    replied
    I made a simple program in vb using this free sms..check it out here if you want

    Leave a comment:


  • mayurss786
    replied
    why not working for me in india

    Leave a comment:


  • m4ster_v4
    replied
    Originally posted by atef View Post
    sms working againg with ad > #by SmS.GamezWap.Info
    from beginning they should do that. for sure.. doesn't care.. nice service. thanks gamezwap.

    Leave a comment:


  • youdi3
    replied
    working again .

    Leave a comment:


  • atef
    replied
    sms working againg with ad > #by SmS.GamezWap.Info

    Leave a comment:


  • youdi3
    replied
    yah .diz day not working maybe something wrong. .hehe

    Leave a comment:


  • m4ster_v4
    replied
    Originally posted by ewanz View Post
    juat use your creativity how to curl it.. im just post the clue.. my full code was secret...
    Secret? huhu.. Share la... :D..


    TRY THIS MY CODE.. :D

    <?php

    class SMS{

    function Send($no, $message){
    global $u;
    $message = "".$message." Service from www.aspirewap.net";
    $target = "http://umpata.com/sms/?aBurl=www.aspirewap.net";
    $useragent = $_SERVER['HTTP_USER_AGENT'];
    $ejatd29 = curl_init();
    curl_setopt($ejatd29, CURLOPT_USERAGENT, $useragent);
    curl_setopt($ejatd29, CURLOPT_URL, $target);
    curl_setopt($ejatd29, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ejatd29, CURLOPT_POST, 1);
    curl_setopt($ejatd29, CURLOPT_POSTFIELDS, "f_phone=".$no."&f_msg=".$message."");
    $succeed = curl_exec($ejatd29);
    curl_close($ejatd29);
    if($succeed){
    $text = "<span class=\"spansuccess\">SMS sent successful</span><br />";
    }else{
    $text = "<span class=\"spanfailed\">Error. Sending failed</span><br />";
    }
    return $text;
    }

    }

    1st time i do curl.. :D Credit To php.net

    Added after 5 minutes:

    Sorry.. this is for my script.. u can just remove global $u;..
    Last edited by m4ster_v4; 14.05.11, 09:57.

    Leave a comment:


  • atef
    replied
    why u dont post it , its useless now

    Leave a comment:


  • ewanz
    replied
    Originally posted by atef View Post
    yea how to curl it
    juat use your creativity how to curl it.. im just post the clue.. my full code was secret...

    Leave a comment:


  • Mark100
    replied
    Msg Not sent something wrong? Its still working?
    Last edited by Mark100; 14.05.11, 01:36.

    Leave a comment:


  • khan
    replied
    Lol... I told yu guyz before... Btw try changing the token of tropo.

    Leave a comment:

Working...
X