I'm looking to try and block access from two IP addresses in PHP, preferably notifying them of their blocking.
Is there anyway I can do this or is it just not possible using PHP?
I've seen a JavaScript version of doing it, but if the browser has JavaScript turned off, then surely they'd be able to get around it.
Thanks for any advice/help in advance.
in index.php:
Or this version, which becomes more manageable when you start having more than one or two bans: