I have this page:
<?php
if ($_POST['nick'] == "elil" && $_POST['pass'] == "******"){
setcookie("user","admin", time()+1314000);
header("Location: index.php");
} else {
header("Location: index.php?error=9");
}
?>
Nothing else is written in it, however when I login I get this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/r/e/createstar/html/eli/log_jump.php:1) in /home/content/c/r/e/createstar/html/eli/log_jump.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/r/e/createstar/html/eli/log_jump.php:1) in /home/content/c/r/e/createstar/html/eli/log_jump.php on line 4
Which is weird, because I send no header information...
Any guesses?