Cookie nach DB-Anwählung
Andy
- php
0 Tobias Kloth0 wahsaga
Hi,
kann man nach einer DB-Anwählung keine Cookies mehr setzen?
Bei mir kommt nähmlich folgende Fehlermeldung:
Warning: Cannot modify header information - headers already sent by (output started at ...confic.php:2) in ...index.php on line 45
in der Zeile 45 der confic.php wird die Datenbank angewählt.
Andy
Hallo Andy,
Warning: Cannot modify header information - headers already sent by (output started at ...confic.php:2) in ...index.php on line 45
in der Zeile 45 der confic.php wird die Datenbank angewählt.
das Problem liegt weniger in der Zeile 45 sondern in der Zeile 2 - dort gibst du nämlich irgendwas aus, was zum senden des headers führt.
Grüße aus Nürnberg
Tobias
Da fängt bei mir <?php an.
Ich hab jetzt mal die 1.Zeile (ist leer) weggelöscht, jetzt geht's!
hi,
Ich hab jetzt mal die 1.Zeile (ist leer) weggelöscht, jetzt geht's!
eine leerzeile _ist_ eine ausgabe.
gruss,
wahsaga
hi,
Warning: Cannot modify header information - headers already sent by (output started at ...confic.php:2) in ...index.php on line 45
http://www.dclp-faq.de/q/q-fehler-session-cookie.html
gruss,
wahsaga