Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 17:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



website problem *read inside*

Discussion on website problem *read inside* within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2011
Posts: 166
Received Thanks: 49
website problem *read inside*

I need help about running my website, here's the problem.

Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\Website\inc\votebox.inc.php on line 213

And here's the votebox.inc.php
Code:
<?php  
$ip = $_SERVER['REMOTE_ADDR'];  
$time = date("l dS of F Y h:i:s A");  
$script = $_SERVER[PATH_TRANSLATED];  
$fp = fopen ("[WEB]SQL_Injection.txt", "a+");  
$sql_inject_1 = array(";","'","%",'"'); #Whoth need replace  
$sql_inject_2 = array("", "","","""); #To wont replace  
$GET_KEY = array_keys($_GET); #array keys from $_GET  
$POST_KEY = array_keys($_POST); #array keys from $_POST  
$COOKIE_KEY = array_keys($_COOKIE); #array keys from $_COOKIE  
/*begin clear $_GET */  
for($i=0;$i<count($GET_KEY);$i++)  
{  
$real_get[$i] = $_GET[$GET_KEY[$i]];  
$_GET[$GET_KEY[$i]] = str_replace($sql_inject_1, $sql_inject_2, HtmlSpecialChars($_GET[$GET_KEY[$i]]));  
if($real_get[$i] != $_GET[$GET_KEY[$i]])  
{  
fwrite ($fp, "IP: $ip\r\n");  
fwrite ($fp, "Method: GET\r\n");  
fwrite ($fp, "Value: $real_get[$i]\r\n");  
fwrite ($fp, "Script: $script\r\n");  
fwrite ($fp, "Time: $time\r\n");  
fwrite ($fp, "==================================\r\n");  
}  
}  
/*end clear $_GET */  
/*begin clear $_POST */  
for($i=0;$i<count($POST_KEY);$i++)  
{  
$real_post[$i] = $_POST[$POST_KEY[$i]];  
$_POST[$POST_KEY[$i]] = str_replace($sql_inject_1, $sql_inject_2, HtmlSpecialChars($_POST[$POST_KEY[$i]]));  
if($real_post[$i] != $_POST[$POST_KEY[$i]])  
{  
fwrite ($fp, "IP: $ip\r\n");  
fwrite ($fp, "Method: POST\r\n");  
fwrite ($fp, "Value: $real_post[$i]\r\n");  
fwrite ($fp, "Script: $script\r\n");  
fwrite ($fp, "Time: $time\r\n");  
fwrite ($fp, "==================================\r\n");  
}  
}  
/*end clear $_POST */  
/*begin clear $_COOKIE */  
for($i=0;$i<count($COOKIE_KEY);$i++)  
{  
$real_cookie[$i] = $_COOKIE[$COOKIE_KEY[$i]];  
$_COOKIE[$COOKIE_KEY[$i]] = str_replace($sql_inject_1, $sql_inject_2, HtmlSpecialChars($_COOKIE[$COOKIE_KEY[$i]]));  
if($real_cookie[$i] != $_COOKIE[$COOKIE_KEY[$i]])  
{  
fwrite ($fp, "IP: $ip\r\n");  
fwrite ($fp, "Method: COOKIE\r\n");  
fwrite ($fp, "Value: $real_cookie[$i]\r\n");  
fwrite ($fp, "Script: $script\r\n");  
fwrite ($fp, "Time: $time\r\n");  
fwrite ($fp, "==================================\r\n");  
}  
}  

/*end clear $_COOKIE */  
fclose ($fp);  
?>
<?php

/* 
 * Etunia Voting System Lite
 * Copyright 2009, Kimmy Andersson.
 * 
 */

if(isset($_POST['doVote']))
{
	
	include_once("class/class.vote.php");
	include_once("inc/inc.class_initiate.php");
	include_once("inc/inc.config.php");
	
	$mssqlcon = mssql_connect($mssqlServer, $mssqlUser, $mssqlPass);
	
	$eVoteHEAD = "Error!";
	
	if($_POST['etCharacter'] && $eVote->checkIP() && $eVote->checkCharacter($_POST['etCharacter']))
	{
		
		$eVote->removeLog($_POST['etCharacter']);
		
		$itemSendResult = $eVote->sendItem($_POST['etCharacter'], $_POST['etItem']);
		
		if($itemSendResult)
		{
			
			$eVoteHEAD = "Link generated!";

			$eVoteMSG = "<style type= text/css >
<!--
.style1 {
	color: #333333;
	font-family: Arial, Helvetica, sans-serif;

}
-->
</style>
</head>

<body>
<table width= 540  border= 0  align= center  cellpadding= 0  cellspacing= 0 >
  <!--DWLayoutTable-->
  <tr>
    <td width= 540  height= 88 >&nbsp;</td>
  </tr>
  <tr>
    <td height= 211  valign= top  bgcolor= #FFFFCC > <div align= center >
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p class= style1 ><span class= style2 ><a href=\"javascript:etOpenVoteWindow()\">Click&nbsp;here</a></span>&nbsp;to open the vote window.<br />
        The reward will be sent to you after you voted.<br />
        If it doesn't appear however, try relogging. </p>
    </div></td>
  </tr>
  <tr>
    <td height= 71 >&nbsp;</td>
  </tr>
</table>
</body>";
		}
		else
			$eVoteMSG = "<!DOCTYPE html PUBLIC   -//W3C//DTD XHTML 1.0 Transitional//EN     http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd  >
<html xmlns=  http://www.w3.org/1999/xhtml  >
<head>
<meta http-equiv=  Content-Type   content=  text/html; charset=iso-8859-1   />
<title>Untitled Document</title>
<style type=  text/css  >
<!--
.style3 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
</head>

<body>
<table width=  540   border=  0   align=  center   cellpadding=  0   cellspacing=  0  >
  <!--DWLayoutTable-->
  <tr>
    <td width=  540   height=  88  >&nbsp;</td>
  </tr>
  <tr>
    <td height=  111   valign=  top   bgcolor=  #FEBABC  > <div align=  center  >
      <p>&nbsp;</p>
        <p class=  style3  ><strong>Opss!</strong>   The character doesn't exist!<br />
        Please refresh the browser and try again. </p>
    </div></td>
  </tr>
  <tr>
    <td height=  119  >&nbsp;</td>
  </tr>
</table>
</body>
</html>
";
		
	}
	else
		$eVoteMSG = "<!DOCTYPE html PUBLIC   -//W3C//DTD XHTML 1.0 Transitional//EN     http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd  >
<html xmlns=  http://www.w3.org/1999/xhtml  >
<head>
<meta http-equiv=  Content-Type   content=  text/html; charset=iso-8859-1   />
<title>Untitled Document</title>
<style type=  text/css  >
<!--
.style3 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
</head>

<body>
<table width=  540   border=  0   align=  center   cellpadding=  0   cellspacing=  0  >
  <!--DWLayoutTable-->
  <tr>
    <td width=  540   height=  88  >&nbsp;</td>
  </tr>
  <tr>
    <td height=  111   valign=  top   bgcolor=  #FEBABC  > <div align=  center  >
      <p>&nbsp;</p>
        <p class=  style3  ><strong>Opss!</strong> Either you left the character field blank, or you are trying to vote from the same <br>
        character more than once within 12 hours.Please refresh the browser and try again.</p>
    </div></td>
  </tr>
  <tr>
    <td height=  119  >&nbsp;</td>
  </tr>
</table>
</body>
</html>
";
	
	echo("<p>{$eVoteHEAD}</p>{$eVoteMSG}");
	
}
else
{
	
	
	
	include_once("vote/inc/inc.config.php");
	include_once("vote/class/class.vote.php");
	include_once("vote/inc/inc.class_initiate.php");
	
	
	$mssqlcon = mssql_connect($mssqlServer, $mssqlUser, $mssqlPass);
	
		if($eVote->checkIP())
	{
		
		?>
		<script  src="vote/js/jquery.js"></script>
		<script  src="vote/js/vote.js"></script>
		
		<div id="et_vbutton" onclick="etLiteGetVoteDialog();" style="background-image: url('vote/images/votenow.png'); text-align: center; width: 250px; height: 150px; position: absolute; top: 0px; right: 20px; cursor: pointer;">
			
			<div id="et_vcharenter" style="background-color: #F8F8F8; margin: 10px auto; width: 200px; height: 100px; text-align: center; display: none;">
				
				Character Name:<br/>
				<input type="text" id="etCharField"/><br/>
				
				<select name="etItemField" id="etItemField">
					
			    	<option value="2">(2500) Pcs- Red Chips</option>
				
				<option value="4">(50) Pcs- Perin</option>
				<option value="5">(99) Pcs- Remantis Laccotte</option>
				<option value="6">(5) Pcs- Scroll of Velocity</option>
					
				</select><br/>
				<input type="submit" id="etCharSubmit" onclick="etLiteDoVoteDialog();" value="VoteNow"/>
				
			</div>
			
		</div>
		
		<?php
		
	}
	
}

?>
any suggestions, know how to fix this?

any help -.-
inteL96 is offline  
Old 02/14/2012, 11:30   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 166
Received Thanks: 49
BUMP
inteL96 is offline  
Old 02/14/2012, 18:50   #3
 
elite*gold: 1
Join Date: May 2010
Posts: 676
Received Thanks: 223
Check your MSSQL Setings in your Htdocs-Folder. And remove the AntiSQL-Script and test it without it!
Hope it works!

Lg
derGunga
Razzer' is offline  
Old 02/15/2012, 13:23   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 206
Received Thanks: 224
Quote:
Originally Posted by dergunga View Post
Check your MSSQL Setings in your Htdocs-Folder. And remove the AntiSQL-Script and test it without it!
Hope it works!

Lg
derGunga
The Error say: "I cant find the function mssql_connect()".

Its exist no problem with the login details or the Syntax from PHP.

He dont include the mssql library dll in the php.ini
yannickFlyff is offline  
Reply


Similar Threads Similar Threads
Worldserver.exe Crashed (read inside)
10/09/2011 - Flyff Private Server - 4 Replies
Hi, i need help of how to fix this problem because my WorldServer.exe get crashed when i online my server. Any suggestion that may help to fix my problem. :(: Error: 2011/10/ 8 18:09:28 Out of Skill Level Range -> CMonsterSkill::LoadScript() - 1354, SI_GEN_STONEHAND, 20 2011/10/ 8 18:09:28 Out of Skill Level Range -> CMonsterSkill::LoadScript() - 1354, SI_ELE_MULTY_METEOSHOWER, 20
[Request Help]Read inside
10/04/2011 - SRO Private Server - 1 Replies
Hello I am able to run a server on a single machine just fine, but now i have called my isp and added a 2nd public ip for my #2 machine. I have used the Dr.Abdel cert patch 3 and set everything up correctly but when I try to load game server it connects to the other pieces of the server but then it stops loading. Anybody have a solution for this? http://img3.imageshack.us/img3/429/unledrty.jpg Uploaded with ImageShack.us
Hi Guys Newbie Here Read Inside
04/23/2011 - Ragnarok Online - 3 Replies
Anyone who has good heart teach me how to use WPE.. i have WPE and WPE Pro.. What i dont know is how to use the filters, cause actually i have a Maya Purple Filter but dunno what to do..But what i did is i run my Ragnarok game then the WPE application after that is i targeted the .exe(Ragnarok). Loaded my Maya Purple Filter..and Press the ON button on the Filter Tooltips..but still nothing happens..Pls Pm me or Reply to this topic.. PS: I Hope No one gets annoyed and offended..If i violated...
WTT 2moons 117 sum >read inside
04/17/2009 - Dekaron Trading - 16 Replies
want to trade my 117 summoner, for a character on 12sky, must be on devotion, or a silkroad online character, just offer up, im not planning on trading first so, here > http://www.elitepvpers.com/forum/itrader.php
Read inside:
06/07/2006 - Conquer Online 2 - 7 Replies
dunno if this is the right forum for this but: I'm lvl 130 at last!!!! just wanted to say that



All times are GMT +1. The time now is 17:06.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.