Extension talk:IPexception

this extension is so good. but it can only set restriction to a few ip, if we need a range of ip, can change if (in_array($_SERVER['REMOTE_ADDR'], $IPexception)) { $IPexceptionPermission = $IPexceptiontrue; }

to if (ip2long($_SERVER['REMOTE_ADDR'])<=ip2long($IPexception[1]) and ip2long($_SERVER['REMOTE_ADDR'])>=ip2long($IPexception[0]) ) { $IPexceptionPermission = $IPexceptiontrue; }