Lỗi Web MU NBB của mrHau :(( trên vps help !
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
 
Kết quả 1 đến 2 của 2
  1. #1
    godhoang
    Guest

    Lỗi Web MU NBB của mrHau :(( trên vps help !

    Connect($database,$databaseuser,$databsepassword); if (!$connect_mssql) die("Ket noi voi SQL Server loi! Hay kiem tra lai ODBC ton tai hoac User & Pass SQL dung."); } elseif($type_connect=='mssql'){ if (extension_loaded('mssql')) {echo("");} else Die("Loi! Khong the load thu vien php_mssql.dll. Hay cho phep su dung php_mssql.dll trong php.ini"); $db = &ADONewConnection('mssql'); $connect_mssql = $db->Connect($localhost,$databaseuser,$databsepassword ,$database); if (!$connect_mssql) die("Loi! Khong the ket noi SQL Server"); } include('config/config_dongbo.php'); //Nạp thẻ $Card_per_page = 30; // Số lượng card tren 1 trang. $datedisplay = 'd/m/Y'; //Kiểu ngày tháng hiển thị //Danh sách các Server: $server[] = 'Sub-1'; //Tên Sub lấy trong GameServer1\Data\ServerInfo.dat : ServerName $server[] = 'Sub-2'; //Tên Sub lấy trong GameServer2\Data\ServerInfo.dat : ServerName $server[] = 'Sub-3'; //Tên Sub lấy trong GameServer3\Data\ServerInfo.dat : ServerName $server[] = 'Sub-4'; //Tên Sub lấy trong GameServer4\Data\ServerInfo.dat : ServerName //Lựa chọn khi Reset: $XoayKiem = '1'; //Học Xoáy Kiếm cho DK ngay ở LV1 $MuiTenVoTan = '1'; //Học Mũi Tên Vô Tận cho Elf Cấp 3 ngay ở LV1 $RedStom = '1'; //Học Skill đánh Lan RedStom cho Summoner ngay ở LV1 ?>
    Warning: in_array() expects parameter 2 to be array, null given in C:\xampp\htdocs\server\security.php on line 19
    Khong co quyen truy cap
    $this->numChars)) $this->numChars = $num; # generate string randmica $this->texto = $this->gerString(); $_SESSION['vImageCodS'] = $this->texto; } function loadCodes(){ $this->postCode = strtoupper($_POST['vImageCodP']); $this->sessionCode = $_SESSION['vImageCodS']; } function checkCode(){ if (isset($this->postCode)) $this->loadCodes(); if ($this->postCode == $this->sessionCode) return true; else return false; } function showCodBox($mode=0,$extra=''){ $str = " "; if ($mode) echo $str; else return $str; } function showImage(){ $this->gerImage(); header("Content-type: image/png"); ImagePng($this->im); } function gerImage(){ # Calculate size to fit text $this->w = ($this->numChars*$this->charx) + 40; #5px de cada lado, 4px por char # Create img $this->im = imagecreatetruecolor($this->w, $this->h); #draw border and background imagefill($this->im, 0, 0, $this->getColor($this->colBorder)); imagefilledrectangle ( $this->im, 1, 1, ($this->w-2), ($this->h-2), $this->getColor($this->colBG) ); #draw circles for ($i=1;$i<=$this->numCirculos;$i++) { $randomcolor = imagecolorallocate ($this->im , rand(100,255), rand(100,255),rand(100,255)); imageellipse($this->im,rand(0,$this->w-10),rand(0,$this->h-3), rand(20,60),rand(20,60),$randomcolor); } #write text $ident = 20; for ($i=0;$i<$this->numChars;$i++){ $char = substr($this->texto, $i, 1); $font = rand(4,5); $y = round(($this->h-15)/2); $col = $this->getColor($this->colTxt); imagechar ( $this->im, $font, $ident, $y, $char, $col ); $ident = $ident+$this->charx; } } function getColor($var){ $rgb = explode(" ",$var); $col = imagecolorallocate ($this->im, $rgb[0], $rgb[1], $rgb[2]); return $col; } function gerString(){ rand(0,time()); $possible="AGHacefhjkrStVxY124579"; while(strlen($str)<$this->numChars) { $str.=substr($possible,(rand()%(strlen($possible)) ),1); } $txt = strtoupper($str); return $txt; } } ?>
    Khách viếng thăm hãy cùng godhoang xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #2
    Thành Viên
    Ngày tham gia
    Apr 2011
    Bài viết
    23
    Thanks
    0
    Thanked 1 Time in 1 Post

    Ðề: Lỗi Web MU NBB của mrHau :(( trên vps help !

    Warning: in_array() expects parameter 2 to be array, null given in C:\xampp\htdocs\server\security.php on line 19
    ~>Khong co quyen truy cap
    file có j nhỉ hinh như có đoạn check ip host bạn sửa ip của host trong phần server or bỏ quách đoạn check ip trong đó đi thử xem post kiểu nayf k biết lối mà lần hcar hiẻu bạn hỏi cái j nữa
    Khách viếng thăm hãy cùng loveistodie xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

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

  1. [Cánh Báo] Khi Sử Dụng TV Web của MrHau
    Bởi mrrainnt trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 13
    Bài viết cuối: 31-05-11, 09:49 AM
  2. cho mình hỏi bảng xép hạng web nbb2.1 mrhau
    Bởi huuthao trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 1
    Bài viết cuối: 20-04-11, 01:11 AM
  3. ai giúp tớ web mrhau đa tạ card đt!
    Bởi supberman trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 6
    Bài viết cuối: 17-04-11, 11:25 AM
  4. cho mình hỏi về web mrhau
    Bởi supberman trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 2
    Bài viết cuối: 17-04-11, 11:04 AM
  5. Lỗi khi cài web NBB2.1 của MrHau
    Bởi hunsao trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 11
    Bài viết cuối: 21-03-11, 02:57 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à 02:53 PM.
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ệ.