|
-
Apr 25th, 2007, 09:30 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Even harder sorting array stuff
Old Post
Thank you for helping me with the old problem, now i have an even harder new one.
This time i need to count how many times an IP accessed a file.
So for example
IP_array(0)="192.168.1.1"
IP_array(1)="192.168.1.1"
IP_array(2)="192.168.1.1"
IP_array(3)="192.168.1.2"
IP_array(4)="192.168.1.2"
IP_array(5)="192.168.1.1"
IP_array(6)="192.168.1.1"
IP_array(7)="192.168.1.3"
IP_array(8)="192.168.1.1"
File_array(0)="Bob" 'Index is reletive to above
File_array(1)="Bob"
File_array(2)="Fred"
File_array(3)="Bob"
File_array(4)="John"
File_array(5)="Bob"
File_array(6)="John"
File_array(7)="Bob"
File_array(8)="Bob"
'All Indexes are reletive
Frequency_IP_File_array(0)="4" 'Bob by 192.168.1.1
Frequency_IP_File_array(1)="4" 'Bob by 192.168.1.1
Frequency_IP_File_array(2)="1" 'Fred by 192.168.1.1
Frequency_IP_File_array(3)="1" 'Bob by 192.168.1.2
Frequency_IP_File_array(4)="1" 'John by 192.168.1.2
Frequency_IP_File_array(5)="4" 'Bob by 192.168.1.1
Frequency_IP_File_array(6)="1" 'John by 192.168.1.1
Frequency_IP_File_array(7)="1" 'Bob by 192.168.1.3
Frequency_IP_File_array(8)="4" 'Bob by 192.168.1.1
Would anyone have any idea how to get around this one??? I don't have an idea...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|