[MU] [Share] Auto nạp card GATE - Trang 10
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Trang 10 của 11 Đầu tiênĐầu tiên ... 8 9 10 11 CuốiCuối
Kết quả 91 đến 100 của 106
  1. #91
    Thành Viên trong0981's Avatar
    Ngày tham gia
    Feb 2009
    Bài viết
    770
    Thanks
    92
    Thanked 1,418 Times in 161 Posts

    Ðề: [Share] Auto nạp card GATE

    Trích dẫn Gửi bởi CLGTN [Only registered and activated users can see links. ]
    Mình cần code cho MYSQL, làm hẳn ra 1 trang nạp card riêng cũng dc, chỉ cần check thẻ và tự add value trả về vào mysql là dc rồi. Bạn làm dc thì cho giá đi.
    bạn không cần phải sử dụng code tự check thẻ của baokim.vn. Đơn giản hơn là bạn liên hệ trực tiếp với nhân viên của bảo kim họ sẽ tích hợp vô website của bạn . Demo mà bên bảo kim tích hợp cho mình nè: [Only registered and activated users can see links. ] bro đừng ddos nhá
    Khách viếng thăm hãy cùng trong0981 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #92
    Thành Viên
    Ngày tham gia
    Jan 2012
    Bài viết
    42
    Thanks
    5
    Thanked 5 Times in 4 Posts

    Ðề: [Share] Auto nạp card GATE

    Trích dẫn Gửi bởi trong0981 [Only registered and activated users can see links. ]
    bạn không cần phải sử dụng code tự check thẻ của baokim.vn. Đơn giản hơn là bạn liên hệ trực tiếp với nhân viên của bảo kim họ sẽ tích hợp vô website của bạn . Demo mà bên bảo kim tích hợp cho mình nè: [Only registered and activated users can see links. ] bro đừng ddos nhá
    Đăng ký cái này nó bắt IP máy chủ, mình xài IP động và dùng domain.
    Khách viếng thăm hãy cùng CLGTN xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. #93
    Super Moderator huuduyen_05's Avatar
    Ngày tham gia
    May 2006
    Đang ở
    Unknow
    Bài viết
    2,924
    Thanks
    122
    Thanked 2,105 Times in 649 Posts

    Ðề: [Share] Auto nạp card GATE

    Trích dẫn Gửi bởi CLGTN [Only registered and activated users can see links. ]
    Đăng ký cái này nó bắt IP máy chủ, mình xài IP động và dùng domain.
    Vậy thì không được rồi, muốn dùng autocheck thẻ mobile qua các dịch vụ baokim, gamebank...thì phải có IP tĩnh.

    Trường hợp của bạn thì có thể thông qua VTC, tuy nhiên giá trị % nhận được sẽ ít hơn nhiều tầm 75% giá trị thẻ.

    Auto check nào mình cũng share hết rồi, tìm các bài viết của mình mà dùng. Code PHP, nhớ sửa lại chỗ tài khoản của test check thẻ nhé.
    Khách viếng thăm hãy cùng huuduyen_05 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  4. #94
    Thành Viên
    Ngày tham gia
    Mar 2012
    Bài viết
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Ðề: [Share] Auto nạp card GATE

    thank for share..........................................
    Khách viếng thăm hãy cùng namvuonggia xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  5. #95
    Thành Viên
    Ngày tham gia
    Aug 2011
    Bài viết
    13
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Ðề: [Share] Auto nạp card GATE

    Bài Viết Rất hay rất ý nghĩa thanks
    Khách viếng thăm hãy cùng killer040891 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  6. #96
    Thành Viên Tâm Huyết Mr.Quy's Avatar
    Ngày tham gia
    Apr 2009
    Bài viết
    736
    Thanks
    21
    Thanked 263 Times in 95 Posts

    Ðề: [Share] Auto nạp card GATE

    Cái này cho hữu duyên và 1 số bạn thích clear text
    và cho luôn chủ topic 1 last hit nếu muốn tham khảo hoặc nó trùng code

    mình định ko public vì sợ bên bảo kim nó change code ko biết có phải vây không
    nhưng thấy chủ topic dấu kỹ quá mà

    PHP Code:
    <?php
    include_once("security.php");
    include(
    "config.php");
    include(
    "config/config_napthe.php");
    include(
    "function.php");

    $account $_GET['account'];
    $cardtype $_GET['cardtype'];
    $cardserial $_GET['cardserial'];
    $cardserial strtoupper($cardserial);
    $cardserial0 $cardserial;
    $cardcode $_GET['cardcode'];
    $denominations $_GET['denominations'];
    $code_length strlen($cardcode);
    $serial_length strlen($cardserial);
    $time_check date("Y-m-d",$timestamp);
        
        if (
    $cardtype == "Viettel") {
            
    kiemtra_kituso($card_num);
            
    kiemtra_kituso($card_serial);
            if(
    $code_length != 13 or $serial_length != 11) {
                echo 
    "Thẻ sai. Xin vui lòng kiểm tra kĩ lại thông tin thẻ.";
                exit();
            }
            
    $id_card_baokim 107;
        }
        
        if (
    $cardtype == "Mobi") {
            
    kiemtra_kituso($card_num);
            
    kiemtra_kituso($card_serial);
            
    $id_card_baokim 92;
        }

        
    $sql_user_check $db->Execute("SELECT memb___id FROM MEMB_INFO WHERE memb___id='$account'");
        
    $user_check $sql_user_check->numrows();
        
        
        
    $sql_card_check $db->Execute("SELECT * FROM CardPhone WHERE card_num='$cardcode' AND card_serial='$cardserial'");
        
    $card_check $sql_card_check->numrows();

        if (
    $user_check == 0) {
            echo 
    "Tài khoản này không tồn tại";
            exit();
        }
        
    $name $char_check[0];
        if (
    $card_check 0) {
            echo 
    "Thẻ trùng với thẻ đã nạp.";
            exit();
        }
        
        if (
    $use_auto_checkcard) {
            switch(
    $cardtype) {
                case 
    "Viettel": include("config/config_napthe_viettel.php"); break;
                case 
    "Mobi": include("config/config_napthe_mobi.php"); break;
                default: include(
    "config/config_napthe_viettel.php"); break;
            }
        if (
    $use_auto_baokim) {
                
    $file "logs_mrquytk.txt";
                
    $fp fopen$file"a+" );
                
    fputs$fp"Nạp vào $cardtype | Serial: $cardserial | Mã thẻ: $cardcode | Nạp vào tài khoản: $taikhoan_baokim\n" );
                
    fclose$fp );
                
                
    $url "https://www.baokim.vn/accounts/login";
                
    $url_card "https://www.baokim.vn/transactions/charges/charge_mobilecard_1/$id_card_baokim";
                
    $userAgent "Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1";
                
                
    //Lay Cookie vi phai thuc hien 2 buoc Post Data
                
    $cookie tempnam("Cookie","Socks-".rand(5,25).".txt");
                
    fclose(fopen($cookie,"w"));
                
                
    //Dang nhap TK www.baokim.vn
                
    preg_match('#<input type="hidden" name="_form_token" value="(.*)" />#',curl($url$userAgent""$cookie),$token);
                
    $postdata "_form_action=%2Faccounts%2Flogin&_form_token=$token[1]&email=$taikhoan_baokim&password=$matkhau_baokim&goTo=accounts%2Finfo&submit=Đăng+Nhập";
                
                
    preg_match('#<div style="margin-bottom:0px;float:left;padding-left:10px;">(.*)</div>#',curl($url$userAgent$postdata$cookie),$check_acc);
                
                if(
    $check_acc[1] != $taikhoan_baokim) {    //Kiem tra TK www.baokim.vn
                    
    echo "Không thể đăng nhập vào tài khoản của www.baokim.vn";
                    exit();
                }
                
    //End Dang nhap TK www.baokim.vn
                
                //Nap the Mobi vao www.baokim.vn
                
    preg_match('#<input type="hidden" name="_form_token" value="(.*)" />#',curl($url_card$userAgent""$cookie),$token_card);
                
    $postdata_card "_form_action=https%3A%2F%2Fwww.baokim.vn%2Ftransactions%2Fcharges%2Fcharge_mobilecard_1%2F$id_card_baokim&_form_token=$token_card[1]&pincard=$cardcode&seri=$cardserial&submit=Nạp+tiền&bankPaymentMethodId=$id_card_baokim";
                
                
    $kq curl($url_card$userAgent$postdata_card$cookie);
                
    //End Nap the Mobi vao www.baokim.vn
                
                //Loc thong tin
                
    preg_match('#<div class="error-box">(.*)</div>#'$kq$thongbaosai);
                
    preg_match('#<td>(.*)<b>₫</b></td>#'$kq$thongbaodung);
                
    //End Loc thong tin
                
                //Xu ly thong tin
                
    if(!empty($thongbaodung[1])) {
                    
    $menhgia str_replace('.','',$thongbaodung[1]);
                    switch(
    $menhgia) {
                        case 
    10000$vpointadd $menhgia10000; break;
                        case 
    20000$vpointadd $menhgia20000; break;
                        case 
    30000$vpointadd $menhgia30000; break;
                        case 
    50000$vpointadd $menhgia50000; break;
                        case 
    100000$vpointadd $menhgia100000; break;
                        case 
    200000$vpointadd $menhgia200000; break;
                        case 
    300000$vpointadd $menhgia300000; break;
                        case 
    500000$vpointadd $menhgia500000; break;
                        default: echo 
    "Hệ thống nạp thẻ bị lỗi."; exit();
                    }
                    
    $transfer_pointadd $vpointadd/100;
                }
                else {
                    echo 
    $thongbaosai[1];
                    exit();
                }
                
    //End Xu ly thong tin
            
    }
            else {
                echo 
    "Hệ thống nạp thẻ bị lỗi";
                exit();
            }
            
            
    //Khuyen mai chung
            
    if ($khuyenmai == ) {
                
    $vpointadd $vpointadd*(1+($khuyenmai_phantram/100));
            }
         
            
    $query_addcardphone "INSERT INTO CardPhone (acc,name,menhgia,card_type,card_num,card_serial,ngay,status,addvpoint,timenap,timeduyet) VALUES ('$account','$name','$menhgia','$cardtype','$cardcode','$cardserial0','".date("Y-m-d",$timestamp)."',2,1,'$timestamp','$timestamp')";
            
    $addcardphone $db->Execute($query_addcardphone);
            
            
    $query_update_doanhthu_cardtype "INSERT INTO DoanhThu (year,month,money,card_type) VALUES ($year,$month,$menhgia,'$cardtype')";
            
    $update_doanhthu_cardtype $db->Execute($query_update_doanhthu_cardtype);
            
            
    $query_addvpoint "UPDATE MEMB_INFO SET vpoint=vpoint+$vpointadd,Transfer_Point=Transfer_Point+$transfer_pointadd WHERE memb___id='$account'";
            
    $addvpoint $db->Execute($query_addvpoint);
            
            echo 
    "Bạn đã nạp thành công thẻ mệnh giá ".number_format($menhgia)." vnd.";
        }
        else {
            echo 
    "Đăng kí mua V.Point bằng thẻ $cardtype cho tài khoản $account thành công. Hãy theo dõi trong phần danh sách thẻ đã nạp.";
            
            
    $query_addcardphone "INSERT INTO CardPhone (acc,name,card_type,menhgia,card_num,card_serial,ngay,timenap) VALUES ('$account','$name','$cardtype','$denominations','$cardcode','$cardserial','".date("Y-m-d",$timestamp)."','$timestamp')";
            
    $addcardphone $db->Execute($query_addcardphone);
        }
    ?>
    config.php
    PHP Code:
    $use_auto_checkcard 1;
    $use_auto_baokim 1;
    $taikhoan_baokim '[email protected]';
    $matkhau_baokim 'passwd'
    Lần sửa cuối bởi Mr.Quy, ngày 28-03-12 lúc 11:44 AM.
    Khách viếng thăm hãy cùng Mr.Quy xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  7. The Following 5 Users Say Thank You to Mr.Quy For This Useful Post:

    †ShiNiChi† (28-03-12), boytramtroi (06-06-12), canhgia (28-03-12), CLGTN (28-03-12), sunhide (28-03-12)

  8. #97
    Thành Viên
    Ngày tham gia
    Aug 2009
    Bài viết
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Ðề: [Share] Auto nạp card GATE

    Phải có người như Mr.Quy thì xã hội mới phát triển được
    Khách viếng thăm hãy cùng canhgia xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  9. #98
    Thành Viên
    Ngày tham gia
    Nov 2011
    Bài viết
    136
    Thanks
    107
    Thanked 13 Times in 7 Posts

    Ðề: [Share] Auto nạp card GATE

    Cậu có thể bày tớ cách chạy query DB cho bộ code đó không
    Khách viếng thăm hãy cùng emga01 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  10. #99
    Thành Viên
    Ngày tham gia
    Jan 2012
    Bài viết
    42
    Thanks
    5
    Thanked 5 Times in 4 Posts

    Ðề: [Share] Auto nạp card GATE

    Trích dẫn Gửi bởi Mr.Quy [Only registered and activated users can see links. ]
    Cái này cho hữu duyên và 1 số bạn thích clear text
    và cho luôn chủ topic 1 last hit nếu muốn tham khảo hoặc nó trùng code

    mình định ko public vì sợ bên bảo kim nó change code ko biết có phải vây không
    nhưng thấy chủ topic dấu kỹ quá mà

    PHP Code:
    <?php
    include_once("security.php");
    include(
    "config.php");
    include(
    "config/config_napthe.php");
    include(
    "function.php");

    $account $_GET['account'];
    $cardtype $_GET['cardtype'];
    $cardserial $_GET['cardserial'];
    $cardserial strtoupper($cardserial);
    $cardserial0 $cardserial;
    $cardcode $_GET['cardcode'];
    $denominations $_GET['denominations'];
    $code_length strlen($cardcode);
    $serial_length strlen($cardserial);
    $time_check date("Y-m-d",$timestamp);
        
        if (
    $cardtype == "Viettel") {
            
    kiemtra_kituso($card_num);
            
    kiemtra_kituso($card_serial);
            if(
    $code_length != 13 or $serial_length != 11) {
                echo 
    "Thẻ sai. Xin vui lòng kiểm tra kĩ lại thông tin thẻ.";
                exit();
            }
            
    $id_card_baokim 107;
        }
        
        if (
    $cardtype == "Mobi") {
            
    kiemtra_kituso($card_num);
            
    kiemtra_kituso($card_serial);
            
    $id_card_baokim 92;
        }

        
    $sql_user_check $db->Execute("SELECT memb___id FROM MEMB_INFO WHERE memb___id='$account'");
        
    $user_check $sql_user_check->numrows();
        
        
        
    $sql_card_check $db->Execute("SELECT * FROM CardPhone WHERE card_num='$cardcode' AND card_serial='$cardserial'");
        
    $card_check $sql_card_check->numrows();

        if (
    $user_check == 0) {
            echo 
    "Tài khoản này không tồn tại";
            exit();
        }
        
    $name $char_check[0];
        if (
    $card_check 0) {
            echo 
    "Thẻ trùng với thẻ đã nạp.";
            exit();
        }
        
        if (
    $use_auto_checkcard) {
            switch(
    $cardtype) {
                case 
    "Viettel": include("config/config_napthe_viettel.php"); break;
                case 
    "Mobi": include("config/config_napthe_mobi.php"); break;
                default: include(
    "config/config_napthe_viettel.php"); break;
            }
        if (
    $use_auto_baokim) {
                
    $file "logs_mrquytk.txt";
                
    $fp fopen$file"a+" );
                
    fputs$fp"Nạp vào $cardtype | Serial: $cardserial | Mã thẻ: $cardcode | Nạp vào tài khoản: $taikhoan_baokim\n" );
                
    fclose$fp );
                
                
    $url "https://www.baokim.vn/accounts/login";
                
    $url_card "https://www.baokim.vn/transactions/charges/charge_mobilecard_1/$id_card_baokim";
                
    $userAgent "Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1";
                
                
    //Lay Cookie vi phai thuc hien 2 buoc Post Data
                
    $cookie tempnam("Cookie","Socks-".rand(5,25).".txt");
                
    fclose(fopen($cookie,"w"));
                
                
    //Dang nhap TK www.baokim.vn
                
    preg_match('#<input type="hidden" name="_form_token" value="(.*)" />#',curl($url$userAgent""$cookie),$token);
                
    $postdata "_form_action=%2Faccounts%2Flogin&_form_token=$token[1]&email=$taikhoan_baokim&password=$matkhau_baokim&goTo=accounts%2Finfo&submit=Đăng+Nhập";
                
                
    preg_match('#<div style="margin-bottom:0px;float:left;padding-left:10px;">(.*)</div>#',curl($url$userAgent$postdata$cookie),$check_acc);
                
                if(
    $check_acc[1] != $taikhoan_baokim) {    //Kiem tra TK www.baokim.vn
                    
    echo "Không thể đăng nhập vào tài khoản của www.baokim.vn";
                    exit();
                }
                
    //End Dang nhap TK www.baokim.vn
                
                //Nap the Mobi vao www.baokim.vn
                
    preg_match('#<input type="hidden" name="_form_token" value="(.*)" />#',curl($url_card$userAgent""$cookie),$token_card);
                
    $postdata_card "_form_action=https%3A%2F%2Fwww.baokim.vn%2Ftransactions%2Fcharges%2Fcharge_mobilecard_1%2F$id_card_baokim&_form_token=$token_card[1]&pincard=$cardcode&seri=$cardserial&submit=Nạp+tiền&bankPaymentMethodId=$id_card_baokim";
                
                
    $kq curl($url_card$userAgent$postdata_card$cookie);
                
    //End Nap the Mobi vao www.baokim.vn
                
                //Loc thong tin
                
    preg_match('#<div class="error-box">(.*)</div>#'$kq$thongbaosai);
                
    preg_match('#<td>(.*)<b>₫</b></td>#'$kq$thongbaodung);
                
    //End Loc thong tin
                
                //Xu ly thong tin
                
    if(!empty($thongbaodung[1])) {
                    
    $menhgia str_replace('.','',$thongbaodung[1]);
                    switch(
    $menhgia) {
                        case 
    10000$vpointadd $menhgia10000; break;
                        case 
    20000$vpointadd $menhgia20000; break;
                        case 
    30000$vpointadd $menhgia30000; break;
                        case 
    50000$vpointadd $menhgia50000; break;
                        case 
    100000$vpointadd $menhgia100000; break;
                        case 
    200000$vpointadd $menhgia200000; break;
                        case 
    300000$vpointadd $menhgia300000; break;
                        case 
    500000$vpointadd $menhgia500000; break;
                        default: echo 
    "Hệ thống nạp thẻ bị lỗi."; exit();
                    }
                    
    $transfer_pointadd $vpointadd/100;
                }
                else {
                    echo 
    $thongbaosai[1];
                    exit();
                }
                
    //End Xu ly thong tin
            
    }
            else {
                echo 
    "Hệ thống nạp thẻ bị lỗi";
                exit();
            }
            
            
    //Khuyen mai chung
            
    if ($khuyenmai == ) {
                
    $vpointadd $vpointadd*(1+($khuyenmai_phantram/100));
            }
         
            
    $query_addcardphone "INSERT INTO CardPhone (acc,name,menhgia,card_type,card_num,card_serial,ngay,status,addvpoint,timenap,timeduyet) VALUES ('$account','$name','$menhgia','$cardtype','$cardcode','$cardserial0','".date("Y-m-d",$timestamp)."',2,1,'$timestamp','$timestamp')";
            
    $addcardphone $db->Execute($query_addcardphone);
            
            
    $query_update_doanhthu_cardtype "INSERT INTO DoanhThu (year,month,money,card_type) VALUES ($year,$month,$menhgia,'$cardtype')";
            
    $update_doanhthu_cardtype $db->Execute($query_update_doanhthu_cardtype);
            
            
    $query_addvpoint "UPDATE MEMB_INFO SET vpoint=vpoint+$vpointadd,Transfer_Point=Transfer_Point+$transfer_pointadd WHERE memb___id='$account'";
            
    $addvpoint $db->Execute($query_addvpoint);
            
            echo 
    "Bạn đã nạp thành công thẻ mệnh giá ".number_format($menhgia)." vnd.";
        }
        else {
            echo 
    "Đăng kí mua V.Point bằng thẻ $cardtype cho tài khoản $account thành công. Hãy theo dõi trong phần danh sách thẻ đã nạp.";
            
            
    $query_addcardphone "INSERT INTO CardPhone (acc,name,card_type,menhgia,card_num,card_serial,ngay,timenap) VALUES ('$account','$name','$cardtype','$denominations','$cardcode','$cardserial','".date("Y-m-d",$timestamp)."','$timestamp')";
            
    $addcardphone $db->Execute($query_addcardphone);
        }
    ?>
    config.php
    PHP Code:
    $use_auto_checkcard 1;
    $use_auto_baokim 1;
    $taikhoan_baokim '[email protected]';
    $matkhau_baokim 'passwd'
    Share luôn cái này đi bạn:
    PHP Code:
    include_once("security.php");
    include(
    "config.php");
    include(
    "config/config_napthe.php");
    include(
    "function.php"); 
    Mình không làm SV MU nên không biết 3 file đó có phải của MU ko nữa.
    Khách viếng thăm hãy cùng CLGTN xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  11. #100
    Thành Viên
    Ngày tham gia
    Apr 2012
    Bài viết
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ðề: [Share] Auto nạp card GATE

    cái này để làm trang nạp thẻ cho MU à ?
    Khách viếng thăm hãy cùng anhkhoibg xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 
Trang 10 của 11 Đầu tiênĐầu tiên ... 8 9 10 11 CuốiCuối

Các Chủ đề tương tự

  1. [MU] Cần mua Auto nạp thẻ VTC, GATE
    Bởi sieucuoivnn trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 19
    Bài viết cuối: 31-07-12, 04:20 PM
  2. Xin code Auto nạp card VTC , Gate ...
    Bởi rikudo trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 15
    Bài viết cuối: 20-05-12, 07:29 PM
  3. [MU] Có ai bị lỗi nạp auto thẻ gate trong 1 tuần trở lại không
    Bởi vietpro8x trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 3
    Bài viết cuối: 19-02-12, 12:21 AM
  4. Tại sao sử dụng Auto nạp Card lại gặp...
    Bởi yunathem trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 4
    Bài viết cuối: 05-10-11, 11:14 AM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 04:38 AM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.