Update index.php

Suporte a controle de sessão;
Esse commit está contido em:
2021-05-06 11:58:11 -03:00
commit de GitHub
commit 3143ffbde1
+15
Ver Arquivo
@@ -1,3 +1,18 @@
<?php
//Controle de Sessão
session_start();
if(@$_GET["sair"]=="ok"){
$_SESSION["id"]="";
session_destroy();
}
if(@$_SESSION["id"]!=""){
header("location: processa.php?id=".$_SESSION["id"]);
}
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.