Jump to content

I need an IP Banning script (no mysql) with a UI


Recommended Posts

I'm currently setting up a personal website, and to protect against spamming I want to integrate an IP banning script. I have a contact form which is easily spammed from so I've made sure it includes the IP of the sender incase it's abused. I know a little PHP, but not enough to make what I want.

 

I have an administration area protected by .htaccess where I would like to keep a simple form for adding/removing IP's to preferably a text file. In the end I want a user on a banned IP address to be redirected here. Even better if I can insert the form into my site template.

 

Is anyone able to help me with this? Thanks a million in advance :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.