Function checkExistingTriggerIP
Checks whether a given IP range already exists in the trigger list. If yes, it returns an error message. Otherwise, it returns an array optimized for the database.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageBans.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageBans.php
array |
$ip_array |
An array of IP trigger data |
string |
$fullip = '' |
The full IP |
boolean|array
|
False if the trigger array is invalid or the passed array if the value doesn't exist in the database |