Hot Thiếu Vân Web 1.85 Full Source - Trang 28
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 28 của 31 Đầu tiênĐầu tiên ... 18 26 27 28 29 30 ... CuốiCuối
Kết quả 271 đến 280 của 305
  1. #271
    Thành Viên
    Ngày tham gia
    Mar 2011
    Bài viết
    46
    Thanks
    5
    Thanked 3 Times in 3 Posts

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    $list_ip = array (
    '127.0.0.1',
    '68.14.83.108',
    '173.199.164.200',
    em chỉnh đầy đủ ip rồi
    thử kết nối đén server sao nó không được (chay link server thì được)

    còn cái trang web mà sao nó tư reload hoài vậy anh
    Lần sửa cuối bởi slimfit, ngày 18-12-11 lúc 10:22 AM.
    Khách viếng thăm hãy cùng slimfit xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #272
    Thành Viên
    Ngày tham gia
    Dec 2011
    Bài viết
    15
    Thanks
    17
    Thanked 1 Time in 1 Post

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    Cho e xin cái DB đi anh
    Khách viếng thăm hãy cùng kenbi xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. #273
    Thành Viên
    Ngày tham gia
    Oct 2009
    Bài viết
    56
    Thanks
    16
    Thanked 1 Time in 1 Post

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    mình cái xong web rồi nhưng hiện tại không thể tìm lại được mật khẩu! khi lấy mật khẩu nó báo không thể gửi mail về email được. ai fig hộ vơi
    Khách viếng thăm hãy cùng hoangthinhvn xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

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

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    upppppp 1 lần post bài đây
    Khách viếng thăm hãy cùng acquycodon xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  5. #275
    Thành Viên
    Ngày tham gia
    Oct 2009
    Bài viết
    56
    Thanks
    16
    Thanked 1 Time in 1 Post

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    có bác nào config được lỗi quên mật khẩu chưa? mật khẩu khi lấy lại tự động đổi pas nhưng ko gửi về email! phần email để gửi thông tin được thay đổi ở đâu mong các bác chỉ giùm
    Khách viếng thăm hãy cùng hoangthinhvn xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  6. #276
    Thành Viên Tâm Huyết
    Ngày tham gia
    Sep 2008
    Bài viết
    1,278
    Thanks
    217
    Thanked 635 Times in 212 Posts

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    giải pháp cho các bạn cần gữi email từ server : [Only registered and activated users can see links. ]
    Khách viếng thăm hãy cùng LHB_LOVE xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  7. #277
    Thành Viên
    Ngày tham gia
    Oct 2009
    Bài viết
    56
    Thanks
    16
    Thanked 1 Time in 1 Post

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    mình đã làm các bước xampp và Mercury Mail như LBH chỉ nhưng vẫn bị lỗi như vậy

    Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in c:\My Documents\Downloads\muserver\xampp\htdocs\home\mod ules\register.php on line 95
    Khách viếng thăm hãy cùng hoangthinhvn xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  8. #278
    Thành Viên Tâm Huyết SnowBlood™'s Avatar
    Ngày tham gia
    Jan 2010
    Đang ở
    Hell
    Bài viết
    811
    Thanks
    149
    Thanked 123 Times in 40 Posts

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    cho web lên host chạy là gửi ok thôi mà, đở phiền phức
    Nhận cài đặt, hướng dẫn cài đặt, config chuẩn Mu Online/ Offline FREE cho anh em
    Anh em nào cần pm yahoo dưới nhé
    Yahoo: jongkidz

  9. #279
    Thành Viên
    Ngày tham gia
    Dec 2011
    Bài viết
    214
    Thanks
    28
    Thanked 63 Times in 29 Posts

    Icon10 Ðề: Hot Thiếu Vân Web 1.85 Full Source

    Trích dẫn Gửi bởi SnowBlood™ [Only registered and activated users can see links. ]
    cho web lên host chạy là gửi ok thôi mà, đở phiền phức
    Host nào Ko biết gì mà phán như thánh.
    Bây giờ ko có hót nào allow cho u dùng hàm mail() để send hết vì sợ spam + backlist.
    Muốn thì mình chỉ cho. thêm 1 file smtp.php có nội dung như sau :
    Code:
    <?php
    
    define('SMTP_INCLUDED', 1);
    //
    // This function has been modified as provided
    // by SirSir to allow multiline responses when
    // using SMTP Extensions
    //
    function server_parse($socket, $response)
    {
       $server_response = '';
       while ( substr($server_response,3,1) != ' ' )
       {
          if( !( $server_response = fgets($socket, 256) ) )
          {
             echo "Couldn't get mail server response codes";
          }
       }
    
       if( !( substr($server_response, 0, 3) == $response ) )
       {
          echo "Ran into problems sending Mail. Response: $server_response";
       }
    }
    
    /****************************************************************************
    *        Function:                 smtpmail
    *        Description:         This is a functional replacement for php's builtin mail
    *                                                function, that uses smtp.
    *        Usage:                        The usage for this function is identical to that of php's
    *                                                built in mail function.
    ****************************************************************************/
    function smtpmail($mail_to, $subject, $message, $headers='',$smtp_host, $smtp_username, $smtp_password, 
    
    $admin_email)
    {
    //global $smtp_host, $smtp_username, $smtp_password, $admin_email;
    //echo $to_mail.$subject.$message.$headers.$smtp_host.$smtp_username.$smtp_password;
    
            //
            // Fix any bare linefeeds in the message to make it RFC821 Compliant.
            //
            $message = preg_replace("/(?<!\r)\n/si", "\r\n", $message);
       /*echo "SMTP_HOST".$smtp_host;
       echo "<br>\nSMTP_USER".$smtp_user;
       echo "<br>\nSMTP_PW".$smtp_password;
       echo "<br>\nADMIN".$admin_email; */
    
            if ($headers != "")
            {
                    if(is_array($headers))
                    {
                            if(sizeof($headers) > 1)
                            {
                                    $headers = join("\r\n", $headers);
                            }
                            else
                            {
                                    $headers = $headers[0];
                            }
                    }
                    $headers = chop($headers);
    
                    //
                    // Make sure there are no bare linefeeds in the headers
                    //
                    $headers = preg_replace("/(?<!\r)\n/si", "\r\n", $headers);
                    //
                    // Ok this is rather confusing all things considered,
                    // but we have to grab bcc and cc headers and treat them differently
                    // Something we really didn't take into consideration originally
                    //
                    $header_array = explode("\r\n", $headers);
                    @reset($header_array);
                    $headers = "";
                    $cc = '';
                    $bcc = '';
                    while( list(, $header) = each($header_array) )
                    {
                            if( preg_match("/^cc:/si", $header) )
                            {
                                    $cc = preg_replace("/^cc:(.*)/si", "\\1", $header);
                            }
                            else if( preg_match("/^bcc:/si", $header ))
                            {
                                    $bcc = preg_replace("/^bcc:(.*)/si", "\\1", $header);
                                    $header = "";
                            }
                            $headers .= $header . "\r\n";
                    }
                    $headers = chop($headers);
                    $cc = explode(",", $cc);
                    $bcc = explode(",", $bcc);
            }
    
    
            if(trim($mail_to) == "")
            {
                    exit();
            }
            if(trim($subject) == "")
            {
                    die("No email Subject specified");
            }
    
            $mail_to_array = explode(",", $mail_to);
    
            //
            // Ok we have error checked as much as we can to this point let's get on
            // it already.
            //
            if( !$socket = fsockopen($smtp_host, 25, $errno, $errstr, 20) )
            {
                    die("Could not connect to smtp host : $errno : $errstr");
            }
            server_parse($socket, "220");
    
            if( !empty($smtp_username) && !empty($smtp_password) )
            {
                    // Send the RFC2554 specified EHLO.
                    // This improved as provided by SirSir to accomodate
                    // both SMTP AND ESMTP capable servers
                    fputs($socket, "EHLO " . $smtp_host . "\r\n");
                    server_parse($socket, "250");
    
                    fputs($socket, "AUTH LOGIN\r\n");
                    server_parse($socket, "334");
                    fputs($socket, base64_encode($smtp_username) . "\r\n");
                    server_parse($socket, "334");
                    fputs($socket, base64_encode($smtp_password) . "\r\n");
                    server_parse($socket, "235");
            }
            else
            {
                    // Send the RFC821 specified HELO.
                    fputs($socket, "HELO " . $smtp_host . "\r\n");
                    server_parse($socket, "250");
            }
    
            // From this point onward most server response codes should be 250
            // Specify who the mail is from....
            fputs($socket, "MAIL FROM: <" . $admin_email . ">\r\n");
            server_parse($socket, "250");
    
            // Specify each user to send to and build to header.
            $to_header = "To: ";
            @reset( $mail_to_array );
            while( list( , $mail_to_address ) = each( $mail_to_array ))
            {
                    //
                    // Add an additional bit of error checking to the To field.
                    //
                    $mail_to_address = trim($mail_to_address);
                    if ( preg_match('/[^ ]+\@[^ ]+/', $mail_to_address) )
                    {
                            fputs( $socket, "RCPT TO: <$mail_to_address>\r\n" );
                            server_parse( $socket, "250" );
                    }
                    $to_header .= "<$mail_to_address>, ";
            }
            // Ok now do the CC and BCC fields...
            @reset( $bcc );
            while( list( , $bcc_address ) = each( $bcc ))
            {
                    //
                    // Add an additional bit of error checking to bcc header...
                    //
                    $bcc_address = trim( $bcc_address );
                    if ( preg_match('/[^ ]+\@[^ ]+/', $bcc_address) )
                    {
                            fputs( $socket, "RCPT TO: <$bcc_address>\r\n" );
                            server_parse( $socket, "250" );
                    }
            }
            @reset( $cc );
            while( list( , $cc_address ) = each( $cc ))
            {
                    //
                    // Add an additional bit of error checking to cc header
                    //
                    $cc_address = trim( $cc_address );
                    if ( preg_match('/[^ ]+\@[^ ]+/', $cc_address) )
                    {
                            fputs($socket, "RCPT TO: <$cc_address>\r\n");
                            server_parse($socket, "250");
                    }
            }
            // Ok now we tell the server we are ready to start sending data
            fputs($socket, "DATA\r\n");
    
            // This is the last response code we look for until the end of the message.
            server_parse($socket, "354");
    
            // Send the Subject Line...
            fputs($socket, "Subject: $subject\r\n");
    
            // Now the To Header.
            fputs($socket, "$to_header\r\n");
    
            // Now any custom headers....
            fputs($socket, "$headers\r\n\r\n");
    
            // Ok now we are ready for the message...
            fputs($socket, "$message\r\n");
    
            // Ok the all the ingredients are mixed in let's cook this puppy...
            fputs($socket, ".\r\n");
            server_parse($socket, "250");
    
            // Now tell the server we are done and close the socket...
            fputs($socket, "QUIT\r\n");
            fclose($socket);
    
            return TRUE;
    }
    function SendMail($frommail,$tomail,$subject,$message,$fromfullname="Sindre Design")
    {
    
    
          $from= $fromfullname." <".$frommail.">";
          $headers ="Return-Path: ".$fromfullname." <".$frommail.">\r\n";
          $headers.="From: $from\nX-Mailer: ".$fromfullname."\r\n";
          $headers .="Mime-Version: 1.0\r\n";
          $headers .="Content-type: text/html; charset=utf-8\r\n";
          $smtp_host ='smtp.google.com';//Dia chi mail server
          $admin_email = '[email protected]';//User gmail cua ban
          $smtp_username = '[email protected]';//User gmail cua ban
          $smtp_password = '123456';//Pass cua email nay
          $result = @smtpmail($tomail,$subject,$message,$headers,$smtp_host, $smtp_username, $smtp_password, 
    
    $admin_email);
    
    }
    
    
    
    ?>
    inucle nó vào file register.php trong thư mục modul
    sửa dòng :
    Code:
    if ( Mail( $email, $subject, $message, $headers ) ) {
    thành :
    Code:
    if ( SendMail( $email, $subject, $message, $headers ) ) {
    Done !
    Khách viếng thăm hãy cùng Bull_Shit xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  10. Các thành viên gởi lời cảm ơn đến Bull_Shit vì bài viết này !

    SnowBlood™ (22-02-12)

  11. #280
    Thành Viên Tâm Huyết
    Ngày tham gia
    Sep 2008
    Bài viết
    1,278
    Thanks
    217
    Thanked 635 Times in 212 Posts

    Ðề: Hot Thiếu Vân Web 1.85 Full Source

    Trích dẫn Gửi bởi hoangthinhvn [Only registered and activated users can see links. ]
    mình đã làm các bước xampp và Mercury Mail như LBH chỉ nhưng vẫn bị lỗi như vậy

    Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in c:\My Documents\Downloads\muserver\xampp\htdocs\home\mod ules\register.php on line 95
    thông thường người ta cài xamp ở disk C sao bạn lại cài vào nơi khác ! cái này LHB đã test rồi gữi email ok lắm !
    bạn thử làm lại và cho xamp qua ổ C xem sao nha !
    Khách viếng thăm hãy cùng LHB_LOVE xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 
Trang 28 của 31 Đầu tiênĐầu tiên ... 18 26 27 28 29 30 ... CuốiCuối

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

  1. Phoenix Destiny Online [Source gốc của Thuận Thiên Kiếm]
    Bởi Lovepw trong diễn đàn Các Server Không Nằm Trong Box
    Trả lời: 66
    Bài viết cuối: 19-02-16, 02:01 AM
  2. Thành Cát Tư Hãn (FULL Client + Source)
    Bởi thaihoa91 trong diễn đàn Các Server Không Nằm Trong Box
    Trả lời: 22
    Bài viết cuối: 01-04-13, 05:38 AM
  3. Source Không Full
    Bởi thanh159 trong diễn đàn Võ Lâm Truyền Kỳ (Jx Server)
    Trả lời: 29
    Bài viết cuối: 09-06-11, 06:32 PM
  4. Web Source NWeb v1.12 Dev by Thiếu Vân phiên bản 1.42 FREE
    Bởi membering trong diễn đàn SQL Server & Website
    Trả lời: 125
    Bài viết cuối: 27-01-11, 08:37 AM
  5. Web Source NWeb-1.12 Dev by Thiếu Vân Phiên bản 1.36
    Bởi membering trong diễn đàn SQL Server & Website
    Trả lời: 98
    Bài viết cuối: 07-10-10, 05:01 PM

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à 05:59 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ệ.