sms script www.2-waysms.com plans

Started on the old forum in January 2011 · view the original in the archive · old links redirect here

10 replies · 1,524 views · started 15 years ago · 1 min read

4 participants
subzero Super moderator Fellow · 3,954 posts #1

I use this services for my billing system

and also got a code to share.

<? 
/* 
Simple and easy for modification, PHP script for SMS sending through HTTP with you own Sender ID and delivery reports. 
You just have to type your account information on www.2-waysms.com and upload file on server. 
*/ 
?> 

<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>SMSER</title> 
<style type="text/css"> 
body{ 
    font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif; 
    font-size:12px; 
} 
p, h1, form, button{border:0; margin:0; padding:0;} 
.spacer{clear:both; height:1px;} 
/* ----------- My Form ----------- */ 
.myform{ 
    margin:0 auto; 
    width:300px; 
    padding:14px; 
} 
/* ----------- stylized ----------- */ 
    #stylized{ 
        border:solid 2px #b7ddf2; 
        background:#ebf4fb; 
    } 
    #stylized h1 { 
        font-size:14px; 
        font-weight:bold; 
        margin-bottom:8px; 
    } 
    #stylized p{ 
        font-size:11px; 
        color:#666666; 
        margin-bottom:20px; 
        border-bottom:solid 1px #b7ddf2; 
        padding-bottom:10px; 
     
} 
    </style> 
</head> 

<body> 
<? 

    switch ($option) { 

    case sendsms: 
        if ($text == "") { echo "Error!<br>Text not entered<br><a href=\"javascript:history.back(-1)\">Go Back</a>"; die; } else { } 
        if ($to == "") { echo "Error!<br>Number not entered<br><a href=\"javascript:history.back(-1)\">Go Back</a>"; die; } else { } 

        $url = "http://www.2-waysms.com/sms.php"; 
        $postfields = array ("text" => "$text", // do not need to change 
        "to" => "$to", // do not need to change 
        "id" => "*****", // you ID in www.2-waysms.com accout 
        "sec" => "****************************"); // your secret code in www.2-waysms.com account 
        if (!$curld = curl_init()) { 
        echo "Could not initialize cURL session."; 
        exit; 
        } 
        curl_setopt($curld, CURLOPT_POST, true); 
        curl_setopt($curld, CURLOPT_POSTFIELDS, $postfields); 
        curl_setopt($curld, CURLOPT_URL, $url); 
        curl_setopt($curld, CURLOPT_RETURNTRANSFER, true); 
        $output = curl_exec($curld); 
        curl_close ($curld); 
        $out = explode('|',$output); 

        echo "Message Status: $out[1]"; 

        //Header("Location: $PHP_SELF"); 
    break; 

    default: 

    echo "<div id=\"stylized\" class=\"myform\">" 
       ."<h1>Send Sms</h1>" 
       ."<form method=post action=\"$PHP_SELF?option=sendsms\">" 
       ."<table border=\"0\">" 
       ."<tr>" 
         ."<td>Number</td>" 
         ."<td><input type=\"text\" name=\"to\"></td>" 
       ."</tr>" 
       ."<tr>" 
         ."<td>Message</td>" 
         ."<td><textarea rows=\"4\" cols=\"25\" name=\"text\"></textarea></td>" 
       ."</tr>" 
       ."<tr>" 
         ."<td> </td>" 
         ."<td><input type=submit name=submit value=Send>" 
         ."<div class=\"spacer\"></div></td>" 
       ."</tr>" 
       ."</table>" 
       ."</form>" 
    ."</div>"; 

    } 

?> 
</body> 
</html>

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

12345xmen Developer · 239 posts #2

unable to login my cpanel its not show my cpanel page !

subzero Super moderator Fellow · 3,954 posts #3

What you on about cpanel ? and what cpanel ??

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

12345xmen Developer · 239 posts #4

control panel yar how get my sender id

subzero Super moderator Fellow · 3,954 posts #7

you mite have to email support

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

subzero Super moderator Fellow · 3,954 posts #9

Go there and get there sms services then pay and enter your id and start sending ....

I do warn you that sms is not really free lmao

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

subzero Super moderator Fellow · 3,954 posts #11

i never tryed it really

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close