Also wenn ich die Datei direkt Aufrufe kommt das dabei raus und das bei beiden Dateien.


Code:
Warning:  Cannot modify header information - headers already sent  by (output started at  /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php:2) in /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php on line 4

Warning:  Cannot modify header information - headers already sent  by (output started at  /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php:2) in /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php on line 5

Warning:  Cannot modify header information - headers already sent  by (output started at  /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php:2) in /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php on line 6

Warning:  session_start() [function.session-start]:  Cannot send session cache limiter - headers already sent (output  started at  /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php:2) in /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php on line 7

Warning:  Cannot modify header information - headers already sent  by (output started at  /home/www/vms/files/content/spiele/s4m_ghost_ship/game_s4m.php:2) in /home/www/vms/files/lib/functions.lib.php on line 5
Und das ist der Code der in den Zeilen steht:

PHP-Code:
<?php

  header
("Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0, no-store");
  
header("Expires: Di, 15 März 2011 22:00:00 GMT"); // Datum in der Vergangenheit
  
header("Pragma: no-cache");
  
session_start();


  include_once (
'../../../lib/functions.lib.php');
  
db_connect();
  include_once (
'../../../lib/session.lib.php');
  if( 
$_SESSION['uid'] <= ) die( '&status=Fehlerhafte Spielerdaten&' );
  
$usrid $_SESSION['uid'];
  
$remote_userinfo mysql_query("SELECT nickname FROM ".$db_prefix."_userdaten WHERE uid='$usrid'");
  
$user mysql_fetch_assoc$remote_userinfo );
  
mysql_free_result$remote_userinfo );
  
$usrname $user['nickname'];
  
$config_curname "Lose";
  
$buchungs_id create_code(14);