ERLEDIGT
NEIN
NEIN
ANTWORTEN
1
1
ZUGRIFFE
204
204
EMPFEHLEN
-
20.09.06 16:01 #1Astror Enales Tutorials.de Gastzugang
Hi @ all.
Ich habe eine Frage:
und zwar will ich für eine Forensoftware von mir ein cookie setzen
(ist für den login)PHP-Code:setcookie("loginid", $value, time()+3600);
aber wenn ich es ausführe kommt nur das hier raus:
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w0068683/cookie_test/login.php:21) in /www/htdocs/w0068683/cookie_test/login.php on line 23
why?
gruß
Astror Enales
-
20.09.06 17:40 #2
Weil bereits eine Ausgabe gemacht wurde, bevor das Cookie gesetzt wird. Dies darf nicht sein. Such mal mit der Suchfunktion nach bzw. schau in der PHP Doku nach den Funktionen zur Ausgabesteuerung.
KIDS Kinderbetreuungsdienst
Xing
"When you play the game of thrones, you win or you die. There is no middle ground."
by Cersei Lannister in "A Game Of Thrones"
Ähnliche Themen
-
Problem mit Cookies
Von Rene42 im Forum PHPAntworten: 1Letzter Beitrag: 24.10.08, 13:07 -
Problem mit Cookies
Von Unicate im Forum PHPAntworten: 1Letzter Beitrag: 21.08.06, 14:10 -
Problem mit Cookies
Von Y05h1 im Forum PHPAntworten: 4Letzter Beitrag: 05.05.05, 09:21 -
problem mit cookies
Von kubanese im Forum PHPAntworten: 14Letzter Beitrag: 27.11.04, 15:50 -
problem with cookies
Von kaits im Forum PHPAntworten: 3Letzter Beitrag: 12.01.03, 15:12





Zitieren

Login






[PHP][Snippet] Array zu XML konvertieren