if(@checkdate($_GET["month"],$_GET["day"],$_GET["year"])){ $year=$_GET["year"]; $month=$_GET["month"]; $day=$_GET["day"]; }else{ $year=date('Y'); $month=date('n'); $day=date('j'); } ?>