Gegen Bilderklau - Das Original (https://www.gegen-bilderklau.net/index.php)
- Design, Website, Copyright (https://www.gegen-bilderklau.net/board.php?boardid=80)
--- Homepagehilfe (https://www.gegen-bilderklau.net/board.php?boardid=27)
---- Homepagehilfe - Archiv (https://www.gegen-bilderklau.net/board.php?boardid=139)
----- [PHP & MySQL] Warning: session_start() [function.session-start] (https://www.gegen-bilderklau.net/thread.php?threadid=125034)
Zitat: |
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /srv/www/httpd/phost/h/de/pytalhost/hegen/web/login/sichere_seite.php:1) in /srv/www/httpd/phost/h/de/pytalhost/hegen/web/login/sichere_seite.php on line 1 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/phost/h/de/pytalhost/hegen/web/login/sichere_seite.php:1) in /srv/www/httpd/phost/h/de/pytalhost/hegen/web/login/sichere_seite.php on line 3 |
Zitat: |
<?php session_start(); if(!session_is_registered('user') || $_SESSION['user'] == "") { header("location:index.php"); die; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Sichere Seite</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <table width="400" bgcolor="#000000" border="0" cellpadding="5" cellspacing="1" align="center"> <tr> <td bgcolor="#e7e7e7" align="center"> <?php echo "<b>Hallo ".$_SESSION['user']."</b>"; ?> <br /><br /> <b>Hier ist der sichere Inhalt!</b> <br /><br /> <a href="neu.php">Neuen Benutzer anlegen</a> <br /><br /> <a href="logout.php">LogOut</a> </td> </tr> </table> </body> </html> |
|
|