Free sms sending script with way2sms chk out !
Collapse
X
-
u need mobile to receive password,Originally posted by khan89 View Postway2sms is free international sms, but it send activation code Only those countries that they have added in their list.
Can Any One make an Id For Me??
My country is not listed there.
Please some one make me an ID of way2sms
therefore 1mobile number = 1 account.
if u could giv me 1USD( 47rupees) than i'll buy new simcard and will give u way2sms account.Last edited by opticalpigion; 25.07.10, 12:06.
Leave a comment:
-
way2sms is free international sms, but it send activation code Only those countries that they have added in their list.Originally posted by morency View Postthis way2sms site send FREE international sms ??? Or just in india ??
Can Any One make an Id For Me??
My country is not listed there.
Please some one make me an ID of way2sms
Leave a comment:
-
this way2sms site send FREE international sms ??? Or just in india ??
Leave a comment:
-
is this working lol ??? its need ur custid mean example =custfrom950000 ]]]]]] i have youngbuzz data base backup.....before 7 days ...that site was hacked by me.....
PHP Code:--
-- Table structure for table `sms_alerts`
--
DROP TABLE IF EXISTS `sms_alerts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sms_alerts` (
`id` int(100) NOT NULL auto_increment,
`uid` int(100) NOT NULL,
`number` varchar(10) NOT NULL,
`status` int(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=159 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sms_alerts`
PHP Code:DROP TABLE IF EXISTS `ibwf_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ibwf_users` (
`id` int(6) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
`pass` varchar(60) NOT NULL default '',
`birthday` varchar(11) NOT NULL default '',
`sex` char(1) NOT NULL default '',
`location` varchar(30) NOT NULL default '',
`perm` char(1) NOT NULL default '0',
`posts` int(6) NOT NULL default '0',
`totin` int(100) NOT NULL default '0',
`totout` int(100) NOT NULL default '0',
`buds` int(100) NOT NULL default '0',
`plusses` int(10) NOT NULL default '0',
`thanks` int(10) NOT NULL default '0',
`signature` varchar(255) NOT NULL default '',
`avatar` varchar(100) NOT NULL default '',
`lastact` int(20) NOT NULL default '0',
`regdate` int(20) NOT NULL default '0',
`chmsgs` int(3) NOT NULL default '0',
`chmood` int(5) NOT NULL default '0',
`shield` char(1) NOT NULL default '0',
`gplus` int(100) NOT NULL default '0',
`budmsg` varchar(70) NOT NULL,
`lastpnreas` varchar(255) NOT NULL default '',
`lastplreas` varchar(100) NOT NULL default '',
`shouts` int(100) NOT NULL default '0',
`pollid` int(100) NOT NULL default '0',
`rbcid` varchar(255) NOT NULL default '',
`lastvst` int(20) NOT NULL default '0',
`battlep` int(20) NOT NULL default '0',
`likes` blob NOT NULL,
`ms` char(1) NOT NULL default 'S',
`rname` varchar(40) NOT NULL default '',
`ppp` int(3) NOT NULL default '10',
`alert` int(1) NOT NULL default '0',
`profvws` int(100) NOT NULL default '0',
`tottimeonl` int(100) NOT NULL default '0',
`hidden` int(1) NOT NULL default '0',
`forumb` int(1) default '0',
`shoutb` int(1) default '0',
`inboxb` int(1) default '0',
`visit` varchar(10) NOT NULL default '0',
`ua` varchar(300) NOT NULL,
`ip` varchar(40) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`fontsize` tinyint(1) NOT NULL default '2',
`tttw` int(11) NOT NULL default '0',
`tttl` int(11) NOT NULL default '0',
`theme` varchar(2) NOT NULL default '1',
`sms` int(5) default '0',
`validrqd` int(2) NOT NULL default '0',
`asylum` int(2) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=3756 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ibwf_users`
--
LOCK TABLES `ibwf_users` WRITE;
/*!40000 ALTER TABLE `ibwf_users` DISABLE KEYS */;
INSERT INTO `ibwf_users` (`id`, `name`, `pass`, `birthday`, `sex`, `location`, `perm`, `posts`, `totin`, `totout`, `buds`, `plusses`, `thanks`, `signature`, `avatar`, `lastact`, `regdate`, `chmsgs`, `chmood`, `shield`, `gplus`, `budmsg`, `lastpnreas`, `lastplreas`, `shouts`, `pollid`, `rbcid`, `lastvst`, `battlep`, `likes`, `ms`, `rname`, `ppp`, `alert`, `profvws`, `tottimeonl`, `hidden`, `forumb`, `shoutb`, `inboxb`, `visit`, `ua`, `ip`, `email`, `fontsize`, `tttw`, `tttl`, `theme`, `sms`, `validrqd`, `asylum`) VALUES (2492,'cyrax','89cd279e1dbab7a8518361804a388062','1988- 7-13','M','Mumbai','0',1,4,1,0,2,0,'','images/nophotoboy.gif',1272687962,1271485182,0,0,'0',0,'','Banned: Sala padoshi ka aulad','',0,0,'',1272629705,0,'','S','Santosh',10,0,3,3347,0,0,0,0,'7','','64.255.180.230','kar.santosh5@gmail.com',2,0,0,'1',0,0,0),(2493,'sony','89cd279e1dbab7a8518361804a388062','1990-06-07','F','','0',0,6,0,0,0,0,'','',1271485922,1271485729,0,0,'0',0,'','','',0,0,'',0,0,'','S','sony',10,0,7,182,0,0,0,0,'1','','218.248.80.57','angel.sony19@gmail.com',2,0,0,'1',0,0,0),(2270,'REY619','89cd279e1dbab7a8518361804a388062','1987-08-15','M','Mars','0',1,10,5,1,4,0,'','',1273838456,1269052701,0,0,'0',0,'','','',2,0,'',1273472077,0,'','S','Rey Mysterio',10,0,8,15728,1,0,0,0,'28','','59.94.102.34','REY619@indifun.in',2,0,0,'1',0,0,0),(2271,'Ajay','89cd279e1dbab7a8518361804a388062','1990-11-19','M','India','0',0,26,32,0,1002,0,'','avatars/1-025.jpg',1271685048,1269054144,0,0,'1',0,'','','User cn öt creat club',2,0,'',1269303678,0,'','S','Ajay',10,0,2,10920,0,0,0,0,'13','','118.95.85.8','ajaycareerpoint@gmail.com',2,0,0,'1',2,0,0),(2272,'YoungBuzz','89cd279e1dbab7a8518361804a388062','1990-12-01','M','Us / Florida (semi indian)','0',96,4378,4033,74,5463,1,'[b][color=red] YoungBuzz [/color][/b]','avatars/1-118.gif',1277648763,1269054369,420,0,'0',75,'','Banned: call shadow','P0st',49,0,'',1277474836,0,'Google (blueeye) ','S','>>who am i ?<<',10,0,228,1125180,0,0,0,0,'2484','','67.228.166.110','admin@youngbuzz.net',3,1,1,'3',39,0,0),(2616,'Trevino','89cd279e1dbab7a8518361804a388062','--','M','Egypt,Tanta In KSA','0',0,0,0,0,0,0,'','',0,1272637282,0,0,'0',0,'','You have just registered, please wait until your account gets validated.','',0,0,'',0,0,'','S','Kazdil',10,0,0,0,0,0,0,0,'0','','208.53.170.49','mvocxu@lykamspam.pl',2,0,0,'1',0,0,0),(2275,'Tiaa','89cd279e1dbab7a8518361804a388062','1990-12-01','F','Mumbai','0',0,4,0,0,0,0,'','',1269057329,1269057307,0,0,'0',0,'','','',0,0,'',0,0,'','S','Tiaa',10,0,2,10,0,0,0,0,'1','','64.255.180.42','Alexcre7@gmail.com',2,0,0,'1',0,0,0),(83,'MSNBot','89cd279e1dbab7a8518361804a388062','1989-05-14','N','Microsoft Headquarter','0',0,11,0,0,0,0,'I crawl the web and make it available in MSN search.','',1274038846,1236158071,0,0,'0',0,'','','',0,0,'',0,0,'','S','MSN Search Bot',10,0,195,24990526,0,0,0,0,'0','','65.55.51.20','',2,0,0,'1',0,0,0),(27,'Googlebot','89cd279e1dbab7a8518361804a388062','2009-03-09 ','N','The Internet','0',0,43,0,0,0,0,'I make the life easier for you netizens!','http://tbn3.google.com/images?q=tbn:-XObpKWkOOP-kM:http://www.searchviews.com/wp-content/themes/clea',1274231484,0,0,0,'0',0,'','','',0,0,'',0,0,'','S','',10,0,243,25182860,0,0,0,0,'0','','66.249.65.48','',2,0,0,'1',0,0,0),(29,'Yahoo! Slurp','89cd279e1dbab7a8518361804a388062','2009-03-09 ','N','The Web','0',0,5,0,0,0,0,'I am the Yahoo! Spider','http://tbn0.google.com/images?q=tbn:VVXEzE65778xnM:http://img258.imageshack.us/img258/7712/539wwy9.j',1274073973,0,0,0,'0',0,'','','',0,0,'',0,0,'','S','',10,0,32,25051439,0,0,0,0,'0','','67.195.115.52','',2,0,0,'1',0,0,0),(2276,'arif','89cd279e1dbab7a8518361804a388062','1986-10-7','M','kanpur','0',18,31,36,0,46,0,'','',1273140578,1269059522,0,0,'0',0,'utkarsh ka frd arifmansoori','Forum Blocked: ABHi BHAGA BHi DUNGA','',10,0,'',1270059449,0,'','S','arif',10,0,6,6502,0,1,0,0,'3','','117.199.149.92','arif9984@gmail.com',2,0,0,'1',2,0,0),(2277,'Chetan','89cd279e1dbab7a8518361804a388062','1993-09-05','M','kota','0',0,6,3,0,1,0,'','images/nophotoboy.gif',1269065542,1269061405,0,0,'0',0,'[[â—ÂÃ*¹‹â€¢ÃÂÃÂâ„“ ѕαy ι ýαν αттιтÃ…∂цòÅт ÉÃÂ½ÃÆ’ 墕','','',1,0,'',0,0,'','S','CHETAN',10,0,2,4118,0,0,0,0,'1','','59.164.0.149','avashyash@gmail.com',2,0,0,'3',1,0,0),(2278,'manish','89cd279e1dbab7a8518361804a388062','1991-06-18','M','kolkata','0',0,2,0,0,0,0,'','',1269061959,1269061788,0,0,'0',0,'','','',0,0,'',0,0,'','S','manish',10,0,2,158,0,0,0,0,'1','','117.205.1.76','manimenka@gmail.com',2,0,0,'1',0,0,0),(2279,'PR!NCE','89cd279e1dbab7a8518361804a388062','1991-03-15','M','!Nd!A','0',43,59,58,4,208,0,'[color=red][i]!!-LoVe NeVEr D!eS-!![/i][/color]','images/nophotoboy.gif',1276185472,1269062547,15,0,'0',0,'[color=purple][i]!!-MY LoVe !S MY L!FE-!![/i][/color] ','','staff',38,0,'',1276154927,0,'[color=blue][i]!!-MuZ!C, Cr!CKeT N MaK!NG NeW FRndZ-!![/i][/color]','S','PR!NCE',10,0,29,59882,0,0,0,0,'80','','27.248.113.244','ani@yahoo.in',2,0,0,'4',12,0,0),(2280,'amir','89cd279e1dbab7a8518361804a388062','1990-04-16','M','Lucknow','0',0,1,0,0,0,0,'','',1269063624,1269063328,0,0,'0',0,'','','',0,0,'',0,0,'','S','Amir',10,0,0,276,0,0,0,0,'1','','64.255.180.149','lucky.knp@gmail.com',2,0,0,'1',1,0,0),(2281,'Manishyadav','89cd279e1dbab7a8518361804a388062','1990-08-27','M','Allahabad','0',0,37,46,0,11,0,'','./avatars/2281u.jpg',1277432719,1269067810,0,0,'0',0,'Mera bap madarchod hai','Banned: U mother ****er','',11,0,'',1276574696,0,'','S','Manishyadav',10,0,5,53735,0,0,1,0,'89','','218.248.65.140','Manishyadav3792@gmail.com',2,0,0,'8',1,0,0),(2282,'akmumbai','89cd279e1dbab7a8518361804a388062','1990-08-21','M','mumbai','1',23,255,233,24,570,0,'[b] [color=blue] [url=http://top.web.tr/site,1330,youngbuzz-net-india-s-top-social-networking.aspx]CLICK HerE To VoTe[/url][/color][/b] [url=http://waptrack.net/details/1/41292.html]VOTE US[/url]','./avatars/2282u.jpg',1277645300,1269070524,38,0,'0',0,'','','Mod',21,0,'',1277609407,0,' [big] m a freedom lover who enjy\'s being wit frnds, i hav a gr8 love for fasion, cricket, fame n fr
Leave a comment:
-
Free sms sending script with way2sms chk out !
make a sms.php
PHP Code:<?php
include("config.php");
include("core.php");
echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML Mobile 1.0//EN\"". " \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $sitename; ?></title>
<meta forua="true" http-equiv="Cache-Control" content="no-cache"/>
<meta forua="true" http-equiv="Cache-Control" content="must-revalidate"/>
<?php
connectdb();
$sid = $_GET["sid"];
echo gettheme($sid);
?>
</head>
<body>
<?php
gettimebar($sid);
$action = $_GET["action"];
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo "</div></div></body></html>";
exit();
}
if(isbanned($uid))
{
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/><br/>";
echo "<b>You are Banned</b><br/><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "<b>Time Left: </b>$rmsg<br/>";
$nick = getnick_uid($banto[2]);
echo "<b>By: </b>$nick<br/>";
echo "<b>Reason: </b>$banto[1]";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo "</div></div></body></html>";
exit();
}
/* if((getposts($sid)<50) AND (getshoutcount($uid)<200)){
boxstart("Error!");
echo "To prevent misuse, this feature is available only to those users who have more than 50 posts or 200 shouts.";
boxend();
getfooter($sid);
echo "</body></html>";
exit();
}
*/
if($action=="main")
{
addonline($uid,"Composing SMS","sms.php?action=$action");
$umsg = getunreadpm($uid);
if($umsg>0){
echo "<p align=\"center\"><a href=\"inbox.php?action=main&sid=$sid\">Inbox($umsg new msg)</a></p>";
}
boxstart("Compose SMS");
echo "Your site name allows you to send unlimited SMSes for free to any network's mobile no. in India. Even the latest 8xxxxxxxxx series numbers are supported. <br/>";
echo "<font color=\"red\"><b>Warning: Using this service for abuse will be strictly dealt with, and police action will be taken.</b></font><br/>";
$msglength=131-strlen(getnick_sid($sid));
echo "<form action=\"sms.php?action=send&sid=$sid\" method=\"post\">
Enter the 10 digit Indian mobile no.:<br/>
<input class=\"inputText\" type=\"text\" name=\"mobile\"size=\"20\" maxlength=\"10\" format=\"*N\"/><br/>
Enter your message($msglength chars max):<br/>
<input class=\"inputText\" type=\"Text\" name=\"message\" maxlength=\"$msglength\"></textarea><br/>
<input class=\"inputButton\" type=\"submit\" name=\"Submit\" value=\"Submit\"/>
</form>
";
boxend();
getfooter($sid);
echo "</body>";
}
else if ($action=="send"){
addonline(getuid_sid($sid), "Sending an SMS", "");
$sms = mysql_fetch_array(mysql_query("SELECT sms FROM ibwf_users WHERE id='".$uid."'"));
boxstart("Sending SMS");
echo "<p style=\"text-align: center\">";
$mobno=$_POST["mobile"];
///////Test whether cell number is valid(i.e. starting from 8 or 9 and containing 10 digits only)
if (!preg_match('/^[9|8]\d{9}$/', $mobno)){
echo "This is not a valid Indian mobile number!!! Please <a href=\"sms.php?action=main&sid=$sid\">go back</a> and retry.</p>";
boxend();
getfooter($sid);
echo "</body></html>";
exit();
}
$message=$_POST["message"];
/////////////if the message + footer is larger than 140 chars truncate the message to fit
$add="#".getnick_sid($sid)."@Yoursite";
$count=strlen($add);
$count=140-$count;
if(strlen($message)>$count){
$message=substr($message, 0, $count);
$flag[0]=1;
$flag[1]=strlen($message);
}
$message.=$add;
$bool=sendsms($mobno, $message);
if($bool==true){
if($flag[0]==1){
echo "Your message was longer than $flag[1] characters so it was truncated and first $flag[1] characters have been sent.<br/>";
}
echo "Your SMS has been successfully sent to $mobno<br/>";
$sms[0]++;
$b1 = mysql_query("UPDATE ibwf_users SET sms='$sms[0]' WHERE id='".$uid."'");
}
else{
echo "An error crept in while sending your SMS. Please try after sometime while an admin looks into the issue and fixes it.";
}
//////////////////////
echo "</p>";
boxend();
getfooter($sid);
echo "</body></html>";
}
put this in core.php
put this in config.phpPHP Code:////////////////////////////////////////////////// sms sending
function sendsms($mobile, $text){
$username="your id of way2sms";
$password="your way2sms password";
$result = "";
$headers= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-us,en;q=0.5\nAccept-Encoding: gzip,deflate\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\nKeep-Alive: 300\nConnection: keep-alive\n";
$fp = fsockopen("way2sms.com", 80, $errno, $errstr, 30);
if($fp){
$request="GET / HTTP/1.1\nHost: way2sms.com\n$headers\n";
fputs($fp, $request);
//echo "Request:<br/>".$request;
while(!feof($fp)){
$result .= fgets($fp, 128);
}
fclose($fp);
//echo "<br/><br/>Reply:<br/>".$result;
}
$return=explode("\n", $result);
$return=$return[3];
$i=17;
$location="";
while($return[$i]!="/"){
$location.=$return[$i];
$i++;
}
$fp1 = fsockopen($location, 80, $errno, $errstr, 30);
if($fp1){
$request="POST /auth.cl HTTP/1.1\nHost: $location\n$headers"."Referer: http://$location/content/prehome.jsp\nContent-Type: application/x-www-form-urlencoded\nContent-Length: 43\n\nusername=$username&password=$password";
fputs($fp1, $request);
//echo "<br/><br/>Request:<br/>".$request;
while(!feof($fp1)){
$result1 .= fgets($fp1, 128);
}
fclose($fp1);
//echo "<br/><br/>Reply: <br/>".$result1;
}
$blah=strstr($result1, "Location: ");
$return=explode("\n", $blah);
$return1=$return[0];
$return="";
$blah="";
$blah=strstr($result1, "Set-Cookie: ");
$return=explode("\n", $blah);
$blah="";
$return=$return[0];
$return=explode(" ", $return);
$return=$return[1];
$return=explode(";", $return);
$cookie=$return[0];
$blah=explode(".com", $return1);
$blah=$blah[1];
$blah=explode("Main.jsp", $blah);
$blah=$blah[0];
$blah=explode("jsp/", $blah);
$blah=$blah[0];
$fp2=fsockopen($location, 80, $errno, $errstr, 30);
$data="custid=undefined&HiddenAction=instantsms&Action=custfrom950000&MobNo=$mobile&textArea=".urlencode($text)."&yincheck=on";
if($fp2){
$request="POST $blah"."FirstServletsms?custid= HTTP/1.1\nHost: $location\n$headers"."Referer: http://$location//jsp/InstantSMS.jsp?val=0\nContent-Type: application/x-www-form-urlencoded\nCookie: $cookie\nContent-Length: ".strlen($data)."\n\n$data";
//$request="POST //FirstServletsms?custid= HTTP/1.1\nHost: $location\n$headers"."Referer: http://$location//jsp/InstantSMS.jsp?val=0\nContent-Type: application/x-www-form-urlencoded\nCookie: $cookie\nContent-Length: ".strlen($data)."\n\n$data";
fputs($fp2, $request);
//echo "<br/><br/>Request:<br/>".$request;
while(!feof($fp2)){
$result2 .= fgets($fp2, 128);
}
fclose($fp2);
//echo "<br/><br/>Reply:<br/>".$result2;
}
if(substr_count($result2, "OK")){
return true;
}
else return false;
}
PHP Code:$sms_username="your id way2sms"; //Register at way2sms.com and put ur mobile number here without 91, example 9810012345
$sms_password="your passowrd way2sms"; //Your way2sms.com password
put a column in ibwf_user is sms
i dnt knw sql for this if u knw then post here
source- youngbuzz script
if give any error post your solution here if you shortout that error !
thank you !Tags: None
Leave a comment: