Last updated: Mon, Apr 17, 2023 10:52 am
Return to Knowledgebase
Data Type | Description of Returned Data |
---|---|
bool | If it is on the blacklist and not on the whitelist, the function logs the attempt and returns true. Otherwise, it returns false. |
if (ipCheckBan()) {
// do something if the IP is on the blacklist and not on the whitelist
} else {
// do something if the IP is not on the blacklist or is on the whitelist
}