".$dia_recogida."/".$mes_recogida."/".$ano_recogida." --> ".$arrDate; } //Logeo if($_POST['login'] && $_POST['password']) { $respuestaLogin = loginUsuario($_POST['login'], $_POST['password'], $_POST['typeLogin']); } //Para evitar inyección de fechas sobre falseamiento de POST if($arrDate) $_SESSION['diauno'] = $arrDate; else $_SESSION['diauno'] = $_POST['arrDate']; if($deptDate) $_SESSION['diados'] = $deptDate; else $_SESSION['diados'] = $_POST['deptDate']; if(!$_POST['genero']) $_POST['genero'] = 1; if(!$_POST['lateralidad']) $_POST['lateralidad'] = 1; ?>