<?
$jour = getdate();
$journee = $jour['wday'];
switch($journee)
{
case 0:header("location:dimanche.php");break;
case 1:header("location:lundi.php");break;
case 2:header("location:mardi.php");break;
case 3:header("location:mercredi.php");break;
case 4:header("location:jeudi.php");break;
case 5:header("location:vendredi.php");break;
default:header("location:samedi.php");break;
}
?>