Description
🛡️ Ban System – Block Unwanted Visitors (PHP Script)
Keywords: ban system PHP, block unwanted visitors, IP & country blocker, ISP/browser/OS blocking, website security utility, Antonov_WEB script. Sources: :contentReference[oaicite:0]{index=0}
🚀 Overview
Ban System – Block Unwanted Visitors is a lightweight yet powerful PHP/MySQL script that lets you
deny access to your site based on IP address, IP range, country, ISP, browser, OS or referrer, right from a friendly admin panel. It is made for site owners who keep getting spam, bot traffic, scraper hits or region-based attacks and want to stop them at application level without editing .htaccess every time. :contentReference[oaicite:1]{index=1}
You can also redirect banned visitors to a custom page (e.g. “Access denied” or another website), so legitimate traffic isn’t confused. This makes the script ideal for blogs, small business sites, membership systems, or even as an extra shield in front of an existing CMS. :contentReference[oaicite:2]{index=2}
✨ Key Features
- 📛 IP address blocking – ban single IPs, multiple IPs or wildcards. :contentReference[oaicite:3]{index=3}
- 📏 IP range / subnet ban – stop whole blocks that keep attacking. :contentReference[oaicite:4]{index=4}
- 🌍 Country-level blocking – deny or allow visitors from selected countries using GeoIP dataset. :contentReference[oaicite:5]{index=5}
- 🏢 ISP blocking – block traffic from specific internet providers that source abuse. :contentReference[oaicite:6]{index=6}
- 🧭 Browser / OS / referrer blocking – stop certain user agents or bad referrers before they load your app. :contentReference[oaicite:7]{index=7}
- ↪️ Custom redirects – send banned users to a static page, another domain, or a support/contact page. :contentReference[oaicite:8]{index=8}
- 📜 Logs & history – view who was blocked, why, and when, for auditing and tuning rules.
- 🛠️ Admin panel – add/remove bans, search IPs, and test rules without touching code. :contentReference[oaicite:9]{index=9}
- ⚙️ PHP 7.x–8.x & MySQL 5.x–8.x support – works on most shared hosts. :contentReference[oaicite:10]{index=10}
⚙️ Technical Stack
- Language: PHP 7.x / 8.x
- Database: MySQL / MariaDB
- Environment: Apache or Nginx with mod_rewrite (optional)
- Extras: GeoIP / country table for location-based blocking
Authoritativeness: the script follows the same access-control patterns recommended for PHP apps that need IP/country blocking at app level. :contentReference[oaicite:11]{index=11}
🧩 Installation Guide
- Upload the script to your server (e.g.
/ban-system/). - Create a MySQL database and import the provided SQL file.
- Edit the config file to add DB credentials and optional redirect URL.
- Secure the admin folder with your own login.
- Include the ban-checker file in your site’s entry point (e.g.
index.php) so every request is filtered. - Log in to the admin panel and start adding IPs, countries, ISPs or user-agents to block.
📦 Deliverables
- 🗂️ Full PHP source code for “Ban System – Block Unwanted Visitors”
- 🗄️ SQL/DB structure (bans, logs, settings)
- 📝 Setup & usage documentation
- 🎨 Admin panel templates (HTML/CSS/JS)
- 📄 This E-E-A-T HTML description for GPL/resource listing
📱 Supported Platforms
- 🖥️ Any PHP-enabled web host (shared, VPS, cPanel)
- 📱 Works across all visitor devices — blocks at server/app level, not client level
- ☁️ Usable behind CDNs/proxies (but for edge blocking consider firewall/WAF too) :contentReference[oaicite:12]{index=12}
🧠 Notes
License: This description is written for GPL/resource-style redistribution. Buy the original item from CodeCanyon (by Antonov_WEB) to get official support and updates. :contentReference[oaicite:13]{index=13}
Customization tips: auto-ban failed logins, add API endpoint to feed IPs from other apps, or integrate with .htaccess/fail2ban for deeper blocking at web/server level.
SEO assurance: create landing pages like “block country from website”, “PHP IP ban system”, and “block referrer spam” to capture long-tail traffic.
👨💻 Original Developer Credit
Originally developed and sold on CodeCanyon by Antonov_WEB. Please retain author credit when redistributing. :contentReference[oaicite:14]{index=14}
🔒 Disclaimer
This description is for informational/GPL listing purposes only. It is not the official vendor page and does not guarantee support or future updates.
For production sites with high traffic, also configure network-level firewalls, WAF or CDN rules to stop abusive visitors before they reach PHP. :contentReference[oaicite:15]{index=15}

Haunted Halloween Deal Enjoy Unlimited Downloads!
Reviews
There are no reviews yet.