K
Kebb
Hallo.
Ich habe eine Passwort-Abfrage programmiert und wenn das Passwort stimmt macht er:
Doch wenn ich es ausführen will kommt:
Warning: Cannot modify header information - headers already sent by (output started at /home/www/##########/#########/####/######/index.php:3) in /home/www/########/#######/#######/#####/index.php on line 14
(die ######'s hab ich reingemacht)
Was ist falsch? Warum gehts nicht?
Ich habe eine Passwort-Abfrage programmiert und wenn das Passwort stimmt macht er:
PHP:
header ('Location: admin.php?pw=$passwort');
Doch wenn ich es ausführen will kommt:
Warning: Cannot modify header information - headers already sent by (output started at /home/www/##########/#########/####/######/index.php:3) in /home/www/########/#######/#######/#####/index.php on line 14
(die ######'s hab ich reingemacht)
Was ist falsch? Warum gehts nicht?
Zuletzt bearbeitet von einem Moderator: