Public feed #953251

Miscellany

public text v1 · immutable
Raw Edit
·published 2008-03-22 22:32 UTC
rendered paste body
<?php

$logfile=fopen("logs.txt","w");

$day=date("D m d Y");
$time=date("H:i:s");
$client=$_SERVER['HTTP_USER_AGENT'];

$info="Date/Time: " . $day ." ". $time . " Broswer: " . $client;

fseek($logfile,SEEK_END);

fwrite($logfile,"$info\n ----------\n");

fclose($logfile);
?>