Bans upside down
#2

I have no big knowledge of php, but id gues, you read the banlog file line for line and then add the bans to your list. If possible, you could put the read bans into an string array instead. Count the number of bans, and then add them to your list out of the array via a loop. Start with the last entry, using the counted number of bans, and then go backwards, decreasing the index by 1.
Reply


Messages In This Thread
Bans upside down - by Saurik - 09.09.2010, 16:45
Re: Bans upside down - by Mauzen - 09.09.2010, 17:28
Re: Bans upside down - by Saurik - 09.09.2010, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)