Hallo,
ich bekomme folgende Fehlermeldung:
Warning: Cannot send session cookie - headers already sent by (output started at /srv/www/htdocs/ipcalc/own/testsession.php:3) in /srv/www/htdocs/ipcalc/own/testsession.php on line 5
Warning: Cannot send session cache limiter - headers already sent (output started at /srv/www/htdocs/ipcalc/own/testsession.php:3) in /srv/www/htdocs/ipcalc/own/testsession.php on line 5
Mein Code:
ich bekomme folgende Fehlermeldung:
Warning: Cannot send session cookie - headers already sent by (output started at /srv/www/htdocs/ipcalc/own/testsession.php:3) in /srv/www/htdocs/ipcalc/own/testsession.php on line 5
Warning: Cannot send session cache limiter - headers already sent (output started at /srv/www/htdocs/ipcalc/own/testsession.php:3) in /srv/www/htdocs/ipcalc/own/testsession.php on line 5
Mein Code:
PHP-Code:
<html>
<body>
<?
session_start();
echo "Session: ".session_id();
?>
</body>
</html>
Kommentar