Cytat
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 2
Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 13
Warning: session_register() [function.session-register]: Cannot send session cache limiter - headers already sent (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 14
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 2
Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 13
Warning: session_register() [function.session-register]: Cannot send session cache limiter - headers already sent (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /home/erf/domains/serwery-cs.com/public_html/beta/index.php:8) in /home/erf/domains/serwery-cs.com/public_html/beta/etc/panel/serwery_panel_login.php on line 14
Źródło pliku:
<?php require_once("serwery_mysql.inc.php"); $echo = ''; $login = $_POST['login']; if($login) { $mail = $_POST['mail']; $query = "SELECT * FROM serwery_clients WHERE email='$mail' AND haslo='$pass_hash'"; } else { $echo = 'Wpisałeś/aś niepoprawne dane!'; } } ?> <div id="right_content"> <div class="members_login"> <h1>Panel Klienta</h1> <form action="index.php?panel=login" method="post" onsubmit="if (sprawdz(this)) return true; return false"> <div class="login_row"> <label class="login">E-mail:</label> <input type="text" class="login_input" name="mail" /> </div> <div class="login_row"> <label class="login">Haslo:</label> <input type="password" class="login_input" name="password" /> </div> <div class="login_row"> <input type="submit" class="button" name="login" value="Zaloguj" /> </div> </form> </div>
Co jest źle ?
