MellerReal
New Member
- Jan 6, 2016
- 6
- 6
Hey, What should I place the cookie time on the voting?
My current code are..
Is it right?
setcookie("fixed", "1", time()+86400);
My current code are..
PHP:
else if(ClientURL() == "/play")
{
if(!isset($_COOKIE['fixed']))
{
setcookie("fixed", "1", time()+86400);
header("Location: https://findretros./rankings/vote/Xert");
}
else
{
Head("Play");
require_once D . "play/index.php";
Body();
}
}
Is it right?
setcookie("fixed", "1", time()+86400);