Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
array_unique
#9
I decided to go another way
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($fjoin('',$text));
  
fclose($f);
}
?>
I had to sacrifice the time of the IP visit but I'm not too bothered about that. Thanks for your help.
[Image: Scorpion-Sig3.png]
Reply


Messages In This Thread
array_unique - by Scorpion - 12-12-2009, 01:54 PM
RE: array_unique - by Socrates - 12-12-2009, 01:56 PM
RE: array_unique - by Scorpion - 12-12-2009, 02:06 PM
RE: array_unique - by Gaijin - 12-12-2009, 02:14 PM
RE: array_unique - by Scorpion - 12-12-2009, 02:24 PM
RE: array_unique - by Gaijin - 12-12-2009, 02:33 PM
RE: array_unique - by Scorpion - 12-13-2009, 07:58 AM
RE: array_unique - by Gaijin - 12-13-2009, 08:13 AM
RE: array_unique - by Scorpion - 12-13-2009, 10:46 AM
RE: array_unique - by Gaijin - 12-13-2009, 11:11 AM

Forum Jump:


Users browsing this thread: 7 Guest(s)