On Sunday 19 May 2002 18:21, Josh Edwards wrote:
> Can someone look and help
>
> I have a function that returns the date in this format
> [10/Apr/2002:01:17:27 +1000] but I'm having trouble returning the last date
> in the file.
[snip]
> $lastdate = getmydate($fcontents[count($fcontents)-1]);
Can someone look and help
I have a function that returns the date in this format
[10/Apr/2002:01:17:27 +1000] but I'm having trouble returning the last date
in the file.
$totalhits = count($fcontents);
$filename = ("combined_log"); //open file
$fcontents = file($filename); //read into arra
2 matches
Mail list logo