3 Code Free SMS Hot nhất hiện nay potx

27 389 0
3 Code Free SMS Hot nhất hiện nay potx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

3 Code Free SMS Hot nhất hiện nay Các code này dựa trên site trung gian, do bác hacobi leech nhé, edit 1 tí cho hợp với site diễn đàn ta. Code 1: Dựa trên paygate sms4vn PHP Code: <? if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start('o b_gzhandler'); else ob_start(); ################# CONFIG ################ $config['proxy'] = ''; $config['proxy_port'] = ''; $config['useragent'] = 'Mozilla/5.0 (iPhone,U; CPU iPhone OS 2_2_1 like Mac OS X; en- us) AppleWebKit/525.18.1 (KHTML, like Gecko) version/3.1.1 Mobile/5H11 Saf ari/525.20'; /// Iphone 2.21 ######################################## ################# RE-CONFIG ################ //$config['file'] = substr(strrchr($_SERVER['SCRIPT_FILENAME'], '/'), 1); //$config['cookie_file'] = str_replace('.php','.txt',$config['file']); $namecook = $_REQUEST['ten']; if(strlen($namecook)<3){ //echo '<script>alert("If you don\'t want Error,SMS not Sent\nUse http://jarodtaylo r.com/about/sms/?ten=yourname\nYourname is more than 3 character")</script>'; $config['cookie_file'] = 'sms_hacobi1102.txt'; } else{$config['cookie_file'] = $namecook.'.txt';} /* if(!file_exists($config['cookie_file'])){ $fp = @fopen($config['cookie_file'],'w'); @fclose($fp); } */ ######################################### ################# FUNCTION ################ function curl($url='',$var=''){ global $config; $curl = curl_init(); if (isset($config['proxy'])) { curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true); curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt($curl, CURLOPT_PROXY, $config['proxy']); curl_setopt($curl, CURLOPT_PROXYPORT, $config['proxy_port']); } curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,20); curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']); curl_setopt($curl, CURLOPT_REFERER, "http://sms4vn.net/"); if($var) { curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $var); } curl_setopt($curl, CURLOPT_COOKIEFILE,'cookies/'.$config['cookie_file']); curl_setopt($curl, CURLOPT_COOKIEJAR,'cookies/'.$config['cookie_file']); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 3); curl_setopt ($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); $result = curl_exec($curl); curl_close($curl); return $result; } function inStr($s,$as){ $s=strtoupper($s); if(!is_array($as)) $as=array($as); for($i=0;$i<count($as);$i++) if(strpos(($s),strtoupper($as[$i]))!==false) retur n true; return false; } ###################################################### ########### MAIN CODE ################################ ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Gửi tin nhắn SMS miễn phí Free DakLak</title> <meta name="keywords" content="Tin nhắn, miễn phí, Free SMS, DakLak, VB BForum" /> <meta name="description" content="Gửi tin nhắn SMS miễn phí Free tại DakLa k.Org" /> <script type="text/javascript" src="status-hacobi.js"></script> <style> body { margin:20px 0px; padding:0px; text-align:center; } #Content { width:400px; margin:0px auto; text-align:left; padding:5px; border:1px dashed #333; background-color:#eee; } </style> </head> <body> <div id="Content"> <b>Send free sms worldwide</b><br /> Note: Not work with <strong>Vietnamese content</strong><br /><br /> <? function del_files($dir,$extension){ foreach(glob($dir.'*.'.$extension) as $v){ unlink($v); } } if($_POST['submit']){ $quangcao = 'hacobi1102'; $url = 'http://thuthuat.hehe.name.vn/sms/index.php'; $var = "sdt={$_POST[to]}&submit=G%E1%BB%ADi%20tin%20nh%E1%BA %AFn&noidung={$_POST[mess]}%20-%20{$quangcao}"; $result = curl($url,$var); if(inStr($result,'Tin nhắn đã được gửi')) echo 'Message has been sent <a href="j avascript: window.history.back();">Send another</a><br />'; else{ echo 'Error, SMS not sent. <a href="javascript: window.history.back();"> Try again!</a><br />';} } else{ $randomn = mt_rand(); print('<form action="'.$config['file'].'" method="post" name="hacobi1102">'); print('Number <input type="text" size="25" maxlength="25" name="to" value= ""/><br />'); print('SMS to Viet Nam : 0xxxxxxxx.<br />Eg: phone 0978123456, use: 09781 23456<br />'); print('Message<br /><textarea name="mess" cols="45" rows="5"></textarea>< br />'); print('Code Verify <input type="text" size="10" maxlength="10" name="verify " value="'.$randomn.'" readonly="readonly" /> <b>'.$randomn.'</b><br />'); print('<input name="submit" value="submit" type="submit" />'); print('</form>'); } ?> <b>diendanvinatex.com</b> </div> </body></html> </SPAN></SPAN> Code 2: Dựa trên paygate share10s PHP Code: <? if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start('o b_gzhandler'); else ob_start(); ################# CONFIG ################ $config['proxy'] = ''; [...]... text-align:left; padding:5px; border:1px dashed #33 3; background-color:#eee; } Send free sms worldwide - http://daklak.org Note: Not work with Vietnamese content . 3 Code Free SMS Hot nhất hiện nay Các code này dựa trên site trung gian, do bác hacobi leech nhé, edit 1 tí cho hợp với site diễn đàn ta. Code 1: Dựa trên paygate sms4 vn PHP Code: . padding:5px; border:1px dashed #33 3; background-color:#eee; } </style> </head> <body> <div id="Content"> <b>Send free sms worldwide</b><br. padding:5px; border:1px dashed #33 3; background-color:#eee; } </style> </head> <body> <div id="Content"> <b>Send free sms worldwide</b><br

Ngày đăng: 27/07/2014, 11:20

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan