2014-03-15, 06:03:56
Oh fair enough. So just store the list of IP addresses in either a text or xml file and compare it to that, then exit the PHP script immediately if it matches one of the IPs. I wondered if the htaccess method was in some way more elegant (since I've used the previous method on CUsers before), but that seems to work. I'll code it soon.
Also, when you say match a pattern, are you saying that the IP addresses stored by this plugin should allow for wildcards too?
Also, when you say match a pattern, are you saying that the IP addresses stored by this plugin should allow for wildcards too?