Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/web0/html/patches/index.php:12) in /home/www/web0/html/patches/muhabusa.php on line 2
Code:
mirror.php
<?
session_start(); // muss unbedingt bei jedem script vor der ersten ausgabe
stehen!
if($_SESSION['eingeloggt']){
$startdir = '.';
$showthumbnails = true;
...etc
und
Code:
<? include("pwd.inc"); ?>
<html>
<head>
<title>VaeVictis Patch-Mirror</title>
</head>
<body>
<form method="post">
Loginname: <input name="user">
Passwort: <input name="pass" type="password">
<input type="submit" value="OK">
</form>
<?
$user = $_POST['user'];
$pass = $_POST['pass'];
if ($user == $user_ok && $pass == $pass_ok)
{
$_SESSION['eingeloggt'] = true;
include("muhabusa.php");
}
else echo "nööööö";
?>
</body>
</html>
irgendwas ist falsch^^
p.s. dein avatar habe ich als tatoo auf meinem arm^^