View file moduls/act/act_add.php

File size: 440B
<?php

$act['data'] = date("d.m.Y");
$act['time'] = date("H:i");

$mess1 = $activ;
include('flud/anti_x.php');
$act['activ'] = $mess1;

if (is_file('moduls/act/'.$_SESSION['user_login'].'.txt') and is_file('user/'.$_SESSION['user_login'].'/profile.php'))
{
$fp = fopen ('moduls/act/'.$_SESSION['user_login'].'.txt', "a+");
fwrite ($fp, $act['data'].'|'.$act['time'].'|'.stripslashes($act['activ'])."\r\n");
fclose ($fp);
}
?>