Results 1 to 4 of 4

Thread: IP blocker script

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IP blocker script

    Hello,

    I'm in need of a script for IE7 that will block IP addresses on a website I'm working on that uses extension .htm.

    Most scripts that I have found uses a script for .php or .shtm websites.

    Right now, I'm having a problem with someone or something sucking the bandwidth from my site and harshing me via my saybox. I pulled the IP from the saybox and banned them from that utility, but I need to block the person from my entire website, not forum, website and possibly redirect them to another site.

    If anyone can provide any direction, it would be greatly appreciated.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You'd have to use either a mysql(or i) database, or .htaccess. Check out .htaccess banning: http://tools.dynamicdrive.com/userban/
    Jeremy | jfein.net

  3. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think that's a little more advanced for the site that I use.

    The site is on http://www.350.com/ and when i copied the generated code, the site saw it as text and nothing more came of it.

    Using 350 is fairly simple, but I just want to block this one particular IP and trying to find a code that I can place on numerous pages is what I'm looking to do.

    There are no headers or footers to work with to place the code, just simple text fields with an HTML feature to manipulate the text and images. I placed the generated code there and it returned as normal text.

    So is there anything else like a code you may be able to help with to add to the HTML of a paragraph that can be used to block an IP?

    Thanks for your help thusfar?

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    If your host doesn't allow any client-side/server-side programming as well as any kind of site administration features then I think this kind of functionality can't be integrated in your site. It would be better if you consult your hosting server's support team about the features that you can have in your websites, before spending huge amount of time for it fruitlessly.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •