![]() |
[PHP] Sesscionproblem
Hi,
ich habe ein Problem mit Sessions. Ich habe eine Datei, die ganz oben zu stehen hat:
Code:
Danach kommt dann DocType, etc.
<?php
session_start(); ?> Was ich nich verstehe: Die beiden Fehlermeldungen ( ![]() Zitat:
Ich hoffe, mir kann jemand helfen. Grüße aus Berlin Chrissi91 P.S.: Es hat sich erledigt. Vor <?php war 1 Leerzeichen. Seit wann pielt das eine Rolle? |
Re: [PHP] Sesscionproblem
Es ist interessant, was davor kommt. Es könnte z.B. nur ein Leerzeichen sein.
|
Re: [PHP] Sesscionproblem
Ja.
Siehe mein P.S. Seit wann ist das wichtig mit den Leerzeichen? Und warum? Danke für die schnelle Antwort. xD |
Re: [PHP] Sesscionproblem
Weil damit bereits Inhalt gesendet wurde und die Sessions bevor irgendetwas an den Browser gesendet wurde erledigt werden müssen.
|
Re: [PHP] Sesscionproblem
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:16 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz