View file funin/acp/setcookie.php

File size: 245B
<?php
$expire=time()+60*60*24*15;
 // time()+60*60*24*30 will set the cookie to expire in 30 days. If set to 0, or omitted, the cookie will expire at the end of the session (when the browser closes).//
setcookie("block", "Active", "$expire");
?>