예제 #1
0
/**
 * @param $file
 * @param $txt
 * @param $user
 * @param $code
 * @param $from
 */
function logit($file, $txt, $user, $code, $from)
{
    global $tikilib;
    $line = $tikilib->get_ip_address() . " - {$user} - " . date('[m/d/Y:H:i:s]') . " \"{$txt}\" {$code} \"{$from}\"";
    lograw($file, $line);
}
예제 #2
0
파일: remote.php 프로젝트: noikiy/owaspbwa
function logit($file, $txt, $user, $code, $from)
{
    $line = $_SERVER['REMOTE_ADDR'] . " - {$user} - " . date('[m/d/Y:H:i:s]') . " \"{$txt}\" {$code} \"{$from}\"";
    lograw($file, $line);
}
예제 #3
0
function logit($file, $txt, $user, $code, $from)
{
	global $tikilib;
	$line = $tikilib->get_ip_address() . " - $user - " . date('[m/d/Y:H:i:s]') . " \"$txt\" $code \"$from\"";
	lograw($file, $line);
}