MyBB Community Forums
Get-cookie.php - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Get-cookie.php (/thread-129743.html)



Get-cookie.php - harlenjoy - 2012-11-21

I have saw this on my publichtml files.

<?php
$chiudi = "\n";

setcookie("chiudi_avviso", $chiudi, time()+3600);

header("location: ".$_SERVER["HTTP_REFERER"]."");

?>

What does it means?


RE: Get-cookie.php - Frank.Barry - 2012-11-21

It just sets a browser cookie to remember something.