mein nächstes problem....cookies ![Big Grin](https://www.php-resource.de/forum/core/images/smilies/biggrin.gif)
ich bekomm doofe fehlermeldungen:
das gilt für alle 3 zeilen ![Frown](https://www.php-resource.de/forum/core/images/smilies/frown.gif)
ich weiss nich, was ich genau falsch mach...
bin für jeden tip dankbar
greetz
![Big Grin](https://www.php-resource.de/forum/core/images/smilies/biggrin.gif)
ich bekomm doofe fehlermeldungen:
Code:
Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/.../news.php:3) in /usr/local/httpd/htdocs/.../news.php on line 58
![Frown](https://www.php-resource.de/forum/core/images/smilies/frown.gif)
PHP-Code:
if ($login_password == $cookiepassword) {
setcookie("cookieid", $cookieid, time() + 60 * 60 * 24 * 365);
setcookie("cookiepassword", $cookiepassword, time() + 60 * 60 * 24 * 365);
setcookie("cookieusergroup", $cookieusergroup, time() + 60 * 60 * 24 * 365);
$loggedin = "1";
} else {
bin für jeden tip dankbar
greetz
Kommentar