12-13-2009, 10:46 AM
I decided to go another way
I had to sacrifice the time of the IP visit but I'm not too bothered about that. Thanks for your help.
PHP Code:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$pagina = $_SERVER['REQUEST_URI'];
$datum = date("d-m-y / h:a");
$invoegen = $datum . " - " . $ip . " - " . $pagina . "
";
$fopen = fopen("Database.html", "a");
fwrite($fopen, $invoegen);
fclose($fopen);
$filename = 'Database.html';
$text = array_unique(file($filename));
$f = @fopen($filename,'w+');
if ($f) {
fputs($f, join('',$text));
fclose($f);
}
?>