Hi, was ist daran falsch kann mir bitte jemand helfen ??
	
Bekomm immer diese Fehlermeldung:
Warning: Cannot add header information - headers already sent by (output started at /home/seiten/admin/config/pwd.php:7) in /home/seiten/admin/index.php on line 10
Warning: Cannot add header information - headers already sent by (output started at /home/seiten/admin/config/pwd.php:7) in /home/seiten/admin/index.php on line 11
Unauthorized access...
in der pwd Datei steht eigentlich nur :
	
 
 
Gruss kleinschmidt
					PHP Code:
	
	
<?php
require("config/pwd.php");
function error ($error_message) {
    echo $error_message."<BR>";
    exit;
}
if ((!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $LOGIN) && ( $PHP_AUTH_PW == "$PASSWORD" ))) {
    header("WWW-Authenticate: Basic entrer=\"Form2txt admin\"");
    header("HTTP/1.0 401 Unauthorized");
    error("Unauthorized access...");
}
include("include/header.php");
?>
Bekomm immer diese Fehlermeldung:
Warning: Cannot add header information - headers already sent by (output started at /home/seiten/admin/config/pwd.php:7) in /home/seiten/admin/index.php on line 10
Warning: Cannot add header information - headers already sent by (output started at /home/seiten/admin/config/pwd.php:7) in /home/seiten/admin/index.php on line 11
Unauthorized access...
in der pwd Datei steht eigentlich nur :
PHP Code:
	
	
<?php
#Login für administrator
$LOGIN = "Login";
$PASSWORD = "passwort";
?>
 
 Gruss kleinschmidt
 
          

Comment