session_start();
//COMPRUEBA QUE EL USUARIO ESTA AUTENTIFICADO
if ($_SESSION["s_autentificado"] != "SI") {
//si no existe, envio a la p·gina de autentificacion
header("Location: ../index.htm");
//ademas salgo de este script
exit();
}
// ObtenciÛn de las variables pasadas por POST
if ($_POST) {
$sTomador = $_POST['tomador'];
$sCif = $_POST['cif'];
$sMatricula = $_POST['matricula'];
$sPoliza = $_POST['poliza'];
}
else {
$sTomador = "";
$sCif = "";
$sMatricula = "";
$sPoliza = "";
}
?>
MG Correduría de Seguros
|