error is ;
Code: Select all
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\satis\index2.php:2) in C:\xampp\htdocs\satis\index2.php on line 4code is;
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="style.css" rel="stylesheet" type="text/css" />
<?php
include_once 'connect.php';
session_start();
?>
<?php
if (isset($_SESSION['player']))
{
$player=$_SESSION['player'];
}
else
{
echo "Not Logged in <br><br> <A href='login.php'>Login</a>";
exit;
}
$playerinfo="SELECT * from players where name='$player'";
$playerinfo2=mysql_query($playerinfo) or die("could not get player stats!");
$playerinfo3=mysql_fetch_array($playerinfo2);
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>New Web Based Mu Online Server Revoulition of Reality</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
font-size: 12px;
}
body {
background-color: #FFFFFF;
background-image: url(images/background.jpg);
background-repeat: repeat;
}
a:link {
text-decoration: none;
color: #000033;
}
a:visited {
text-decoration: none;
color: #000033;
}
h1,h2,h3,h4,h5,h6 {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style1 {
color: #FFFFFF;
font-weight: bold;
}
.style3 {color: #000033}
.style5 {color: #FF0000}
.style8 {color: #FF0000; font-weight: bold; }
a:hover {
text-decoration: underline;
color: #FF0000;
}
a:active {
text-decoration: none;
}
.style10 {color: #000033; font-weight: bold; }
.style12 {
font-size: 24px;
font-weight: bold;
color: #FFFFFF;
font-family: Georgia, "Times New Roman", Times, serif;
}
-->
</style>
</head>
<body>
<label><label></label></label><table width="85%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0">
<tr bgcolor="#FFFFFF">
<td width="839"><table width="100%" border="0" align="center" background="images/wood.jpg">
<tr>
<td><p align="center" class="style12">Island Mu Online</p>
<p> </p></td>
</tr>
</table>
<br />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCD8E6">
<tr>
<td><div align="center" class="style1"><a href="http://localhost/satis">Home</a></div></td>
</tr>
</table>
<br />
<table width="20%" border="0" background="images/button.jpg">
<tr>
<td><div align="center"><span class="style1">Menu</span></div></td>
</tr>
</table>
<table width="20%" align="left" cellpadding="0" bgcolor="#CCD8E6">
<tr>
<td><ul>
<li><span class="style10"><a href="./index.htm">Profile</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./weaponshop.php">Weapon Shop</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./armorshop.php">Armor Shop</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./store.php">Potion Shop</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./spelltrainer.php">Skill Shop</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./battle.php">Battle Area</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./equipment.php">Inventory</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./inn.php">Restore heal</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./maps.php">Change Map</a></span></li>
</ul></td>
</tr>
<tr>
<td><ul>
<li><span class="style10"><a href="./ranking.php">Rankings</a></span></li>
</ul></td>
</tr>
</table>
<p> </p>
<table width="70%" border="0" align="right" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#FFFFFF" class="style5">
</table>
<p> </p>
<p> </p>
<p> </p>
<p><br />
<br />
</p>
<p> </p>
<p> </p>
<p><br />
</p>
<table width="100%" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="20%" border="0" background="images/button.jpg">
<tr>
<td><div align="center"><span class="style1">NEWS</span></div></td>
</tr>
</table>
<!-- TemplateBeginEditable name="Düzenlenebilir Alan2" -->
<table width="20%" height="300" align="left" cellpadding="0" bgcolor="#CCD8E6">
<tr>
<td><marquee direction="up" scrolldelay="200">
<li>Grand Opening time 01.07.2011</li> <br />
</marquee></td>
</tr>
</table>
<!-- TemplateEndEditable -->
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="100%" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/button.jpg" bgcolor="#F0F0F0">
<tr>
<td><div align="center" class="style1">Tasarim-Kodlama: Tolgahan Tunç | Dablue.Org</div></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>