Cytat
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\usr\krasnal\www\ffs\admin\index.php:6) in c:\usr\krasnal\www\ffs\admin\index.php on line 8
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\usr\krasnal\www\ffs\admin\index.php:6) in c:\usr\krasnal\www\ffs\admin\index.php on line 8
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\usr\krasnal\www\ffs\admin\index.php:6) in c:\usr\krasnal\www\ffs\admin\index.php on line 8
A skrypt wygląda tak:
<? require '../conf.php' ; $real_user=\"fiszol\"; $real_pass=\"pass\"; if ($admin==\"zaloguj\") { if ($zUser==$real_user and $zPass==$real_pass) { $usr=$zUser; $pass=$zPass; } } if (($usr==$real_user) && ($pass==$real_pass)) { /* tresć dostępna po zalogowaniu*/ } else { echo\"<font face=arial size=3 color=FF0000><div align=center><b>Nie masz uprawnień!<br><br>\" ; echo \"<tr><td colspan=2><br><div align=center><font color=green face=arial size=4><b>Mu-bySiteAdmin</font></div><br>\"; echo \"<tr><td width=40%><div align=center><font class=tresc> login: </td><td align=center><input type=text name=zUser size=10 width=20></td></tr>\"; echo \"<tr><td width=40%><div align=center><font class=tresc> passw: </td><td align=center><input type=password name=zPass size=10 width=20></td></tr>\"; } ?>
Co zrobić aby zlikwidować ten błąd?
przetrzepałem już istniejące tematy jednak rozwiązanie nie znalzłem, tzn są inne skrypty z już omówioną problematyką jednak jak na mnie zbyt skomplikowane
pozdrawiam,
fiszol