When I try to put the following code in my download-summary.tpl (template file), it does not recognize the php. I know that Brat (forum helper) has been giving me replies for a couple of days but then stopped so i am completely lost rigth now. What should I do with this...
<?PHP
if(isset($_COOKIE["Your_User_Cookie"]))
{
header("Location:/download.php?action=2&file=FILE_NAME");
}
else
{
// do normal 30s meta refresh
}
?>
If you need to look at the whole thread to understand better, here it is
http://phpbuilder.com/board/showthread.php?t=10312677
Also, I have a cron job that executes a script to remove files older than 15 days but I get this error
read_config_store open failure on /var/net-snmp/snmpapp.conf