/**
* The default template for displaying content.
*/
// Wenn $PHP_AUTH_USER daten sendet, dann
if (is_page('83')) {
/*
list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':' , base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
if (!isset($_SERVER['PHP_AUTH_USER'])) {
// Wenn leer, Dialogbox mit Abfrage
header('WWW-Authenticate: Basic realm="Elisabeth Bauer CMS"');
header('HTTP/1.0 401 Unauthorized');
echo 'Keine Berechtigung 1.';
exit;
} else if (isset($_SERVER['PHP_AUTH_USER'])) {
$user = $_SERVER['PHP_AUTH_USER'];
$pass = $_SERVER['PHP_AUTH_PW'];
if ($user != 'test' && $pass != 'test'){
header('WWW-Authenticate: Basic realm="Elisabeth Bauer CMS"');
header('HTTP/1.0 401 Unauthorized');
echo 'Keine Berechtigung 2.';
exit;
} else {
echo "DRIN";
}
}
*/
}
?>
Publikationen Widhalm K | Österreichisches Akademisches Institut für Ernährungsmedizin