Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/qba10/public_html/osp/index.php:2) in /home/qba10/public_html/osp/sys/tajne/config.php on line 64
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/qba10/public_html/osp/index.php:2) in /home/qba10/public_html/osp/sys/tajne/config.php on line 64
oto kod pliku:
<? } $_CONFIG['MySQL']['host'] = "xxxxxxx"; $_CONFIG['MySQL']['user'] = "xxxxxxxx"; $_CONFIG['MySQL']['pass'] = "xxxxxxxxx"; $_CONFIG['MySQL']['base'] = "xxxxxxxxx"; @mysql_connect($_CONFIG['MySQL']['host'], $_CONFIG['MySQL']['user'], $_CONFIG['MySQL']['pass']) or die('<html> <head> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2"> <title>Error - Jump PHP</title> <style type="text/css"> body { background: #FFFFFF; } div { font-family: Verdana, Arial; font-size: 12px; color: #000000; } </style> </head> <body> <div> Przepraszamy, wystąpiła chwilowa awaria serwisu.<br> <br> <b>Nie mogę połączyć się z serwerem bazy danych.</b><br> <br> Proszę powiadom <a href="mailto:qba100@gmail.com">Wemastera qba100@gmail.com</a>. </div> </html>'); <head> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2"> <title>Error</title> <style type="text/css"> body { background: #FFFFFF; } div { font-family: Verdana, Arial; font-size: 12px; color: #000000;} </style> </head> <body> <div> Przepraszamy, wystąpiła chwilowa awaria serwisu.<br> <br> <b>Nie mogę odnaleść bazy Danych.</b><br> <br> Proszę powiadom <a href="mailto:qba100@gmail.com">Wemastera qba100@gmail.com</a>. </div> </html>'); function login() { $_SESSION['sesja'] = ''; } $metod = "post"; } $metod = "cookies"; } $query = mysql_query("SELECT `user`,`pass`,`nick`,`lvl`,`u1` ,`u2` ,`u3` ,`u4` ,`u5` ,`u6`,`u7` ,
`nazwisko` ,`email` ,`data`, `x` FROM `users` WHERE `user`='".$login."' AND `pass`='".$haslo."';"); $_SESSION['nick'] = $wiersz['nick']; $_SESSION['u1'] = $wiersz['u1']; $_SESSION['u2'] = $wiersz['u2']; $_SESSION['u3'] = $wiersz['u3']; $_SESSION['u4'] = $wiersz['u4']; $_SESSION['u5'] = $wiersz['u5']; $_SESSION['u6'] = $wiersz['u6']; $_SESSION['u7'] = $wiersz['u7']; $_SESSION['nazwisko'] = $wiersz['nazwisko']; $_SESSION['x'] = $wiersz['x']; $_SESSION['data'] = $wiersz['data']; $_SESSION['email'] = $wiersz['email']; $_SESSION['lvl'] = $wiersz['lvl']; } } } } ?>
O co tutaj chodzi miej więcej. Gdzie mam błąd { by nie było ale ja z anglikiem zapanbrat zamocno nie jestem
