<?php include ('config.php'); include ('functions.php'); echo '<html><head> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2"> <meta name="Keywords" content="'.$keywords.'"> <meta name="Description" content="'.$description.'"> <meta http-equiv="Content-Language" content="'.$lang.'"> <meta http-equiv="Reply-to" content="'.$email.'"> <meta name="Author" content="'.$nick.'"> <title>'.$title.' - '.$slogan.'</title> <link rel="stylesheet" href="style.css" type="text/css"> </head><body> <table align="center" cellspacing="0" cellpadding="0" style="border: 1px solid black; width: 800px;"> <tr> <td class="title" align="center" colspan="3">'.$title.' '.$slogan.'</td> </tr> <tr> <td class="cmenu" align="center" valign="top"><br>'; // Jeżeli niezalogowany } // Po wylogowaniu } echo '</td> </tr> <tr> <td class="copyright" align="center" colspan="3">'.$copyright.'</td> </tr> </table></body> </html>'; ?>
i po wylogowaniu (spełniony warunek drugi) wywalia mi taki error;
Cytat
Warning: Cannot modify header information - headers already sent by (output started at /home/gothic/www/my_cms/administracja.php:24) in /home/gothic/www/my_cms/administracja.php on line 33
co mam zmienić :|