PHP-Code:
<?
$monate = array("jan", "feb", "mar", "April", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "dez");
$monat = date("n");
$monat = $monate[$monat++];
if(!strstr($REQUEST_URI,"#".$monat))
{ // <- strstr() wäre die richtige Funktion, allerdings wird #monat nicht in der Variablen $REQUEST_URI gespeichert
header("Location: terminkalender.php#".$monat);
}
?>