These code snippets are small, but useful, and I'd like to keep the most useful bits of code available for the public to use. It will return a bitmap for each input as an array. You pass in the bitmaps for the IP, Network, and Netmask. It will return a 0 on a match, or something else if there isn't a match.
Routines beginning with 'pf' are for the foreground, and 'pb' are background.
It's pretty self-explanetory. This is a small routine I found on the net. It will take a number, and put the commas in it. The processed array is returned. Ismember You can create a list of users in a file, and then check to see if a passed value is a member of that list.