Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2092 → Rev 2093

/web/acc/haut.php
23,6 → 23,16
if (($fp=fopen($name_fic,"w")) == false) exit;
fputs($fp, "$nb\n");
fclose($fp);
 
 
//Inform admin log about his last connection
$admin_log="admin_log.txt";
$user_htdigest=$_SERVER['PHP_AUTH_USER'];
$date_system=date('d/m/Y H:i:s');
$user_ip=$_SERVER["REMOTE_ADDR"];
$text=$date_system."|||".$user_htdigest."|||".$user_ip."|||";
file_put_contents($admin_log, $text.PHP_EOL, FILE_APPEND);
 
?>
<link rel="stylesheet" href="/css/style.css" type="text/css">
</HEAD>
33,3 → 43,4
</TABLE>
</BODY>
</HTML>