session_start(); if(isset($_SESSION['telefone']) and (isset($_SESSION['senha']))){ header("Location: p.php"); die(); } ?>