Tag Archives: ban ip

Simple script to ban an IP address

Categories: PHP

Below you can find a simple php script that blocks ip addresses. It uses a function (called iplong) that converts the standard IPv4 address to a long int value and the main function (ban) that checks if a provided ip …

Tagged , , ,