Basically finished this simulation
This commit is contained in:
parent
12d8e33009
commit
3efca30a4c
4 changed files with 58 additions and 33 deletions
|
@ -3,10 +3,6 @@ include "includes/security.php";
|
|||
|
||||
checkSession();
|
||||
|
||||
if (!isset($_COOKIE["hasVoted"])) {
|
||||
setcookie("hasVoted", true, time() + 60, "/");
|
||||
}
|
||||
|
||||
addVote($_SESSION["film"], $_SESSION["voto"]);
|
||||
|
||||
session_destroy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue