Warning: Cannot modify header information - headers already sent by (output started at adminPanel.php:1) in /home/krl/www/adminPanel.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at adminPanel.php:1) in /home/krl/www/adminPanel.php on line 39
takie bledy dostaje gdy wylacze przegladarke bez wylogowania sie:(
to sa te linie:
<?
if (!isset($HTTP_SERVER_VARS['PHP_AUTH_USER'])) {
<b>header('WWW-Authenticate: Basic realm="admin"');</b>
<b>header('HTTP/1.0 401 Unauthorized');</b>
exit;
else { ...
powyzej jest jedynie html....