We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e745fac commit 2f29f14Copy full SHA for 2f29f14
1 file changed
index.php
@@ -40,8 +40,8 @@
40
}
41
file_put_contents('db.json', json_encode($data));
42
43
- // Imposta il cookie per 1 settimana
44
- setcookie('already_submitted', 'true', time() + (7 * 24 * 60 * 60));
+ // Imposta il cookie per 21 giorni
+ setcookie('already_submitted', 'true', strtotime('+21 days'));
45
46
header('Location: report.php');
47
exit;
0 commit comments