<?php Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\usrkrasnalwwwskorpmmorpgindex.php:12) in c:usrkrasnalwwwskorpmmorpgindex.php on line 28 ?>
A oto plik ze strona:
<html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\"> <title>::::: MMORPG :::::</title> <meta name=\"Description\" content=\"\"> <meta name=\"Keywords\" content=\"\"> <meta name=\"Author\" content=\"Michal Pedzich\"> <meta name=\"Generator\" content=\"AceHTML 4 Freeware\"> <link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\"> </head> <BODY text=FFFFFF vlink=FFCC00 bgcolor=000000> <center> <table cellspacing=0 cellpading=0 width=760 border=1> <tr> <td valign=top> <table cellspacing=0 cellpading=0 width=100% border=1> <tr><td align=center height=150><SPAN CLASS=block>logo</SPAN></td></tr> </table> <table cellspacing=0 cellpading=0 width=100% border=1> <tr> <td width=25% valign=top> <table cellspacing=0 cellpading=0 width=100% height=100% border=0> <tr><td> <?php $dbh = mysql_connect (\"localhost\", \"root\", \"sedcxink\") or die ('Niemoge sie polaczyc z baza: ' . mysql_error()); $db_name=\"gra2\"; if($login!=\"\" && $xxhaslo!=\"\") // wykonywane jeżeli podano jak±kolwiek { // warto¶ć: login lub hasło $sql = mysql_query('SELECT lvl FROM gracze WHERE login=''.$_POST['login'].'' ') or Die (\"zapytanie X\"); } $nick=$_POST['login']; $haslo=$_POST['xxhaslo']; $_SESSION['nick'] = $nick; $_SESSION['haslo'] = $haslo; ?> </td></tr> <tr><td background=img/menu_bg.gif align=center class=title>MENU</td></tr> <tr> <td> <img src=\"img/grandmagering.gif\" width=\"13\" height=\"12\"><a href=\"index.php\" style=\"text-decoration: none\">Strona Główna</a><br> <img src=\"img/grandmagering.gif\" width=\"13\" height=\"12\"><a href=\"index.php?page=logowanie\" style=\"text-decoration: none\">Logowanie</a></br> <img src=\"img/grandmagering.gif\" width=\"13\" height=\"12\"><a href=\"index.php?page=signup\" style=\"text-decoration: none\">Rejestracja</a><br> </td> </tr> </table> </td> <td width=100%> <? if ($_GET['page'] == \"test\") { include (\"test.php\"); } else if ($_GET['page'] == \"logowanie\") { include (\"login.php\"); } else if ($_GET['page'] == \"signup\") { include (\"signup.htm\"); } else { include (\"news.php\"); } ?> </td> </tr> </table> </td> </tr> </table> </center> </body> </html>
Co jest zle ;/ plsss i need help