Script Coder Needed For Tiny Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HairyChick
    Slowly dying
    • Sep 2012
    • 3091

    #1

    Business Script Coder Needed For Tiny Script

    I had a small script years ago and need it again. It’s only a handful of lines so is tiny to me.

    Call the php script up in a browser. Fields to fill in are “IP” and “reason” and “time” and “initials” of person banning

    Script writes to htaccess file. Bans IP for REASON for TIME. Like 123.45.678.* for LOGIN HACK ATTEMPT for 1440 minutes (1 day) and INITIALS.

    Script has numerical list for minute ban choices
    60
    120
    720
    1440
    10080
    302400
    99999999 permanent

    * wildcards allowed for D and C, never A and on rare occasions, B.

    Ideally, I’d like it to email me the results or just “a ban has been added”. I’ll backup htaccess every tine do if a bad code is added, it can be overwritten until the bad code is identified and why error occurred is done. Also, if new file breaks the site, I can upload the old one fast.

    As I reread that, I realized a lot of entries wasn’t called up. If it breaks the site or bans everyone, the latter code is easy to find, but the former is line by line. My host will have fits if the script had many entries.

    PM or email purple laptop at the g mail place
    *****************************************
    Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
    *****************************************
  • k0nr4d
    Confirmed User
    • Aug 2006
    • 9231

    #2
    I don't know if i'd call that a tiny script - htaccess doesn't on it's own let you block for time periods so you need the whole management to remove the blocks after the time expires.
    Mechanical Bunny Media
    Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

    Comment

    • HairyChick
      Slowly dying
      • Sep 2012
      • 3091

      #3
      I could do it without the time. I’ll clear it weekly
      *****************************************
      Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
      *****************************************

      Comment

      • Oracle Porn
        Affiliate
        • Oct 2002
        • 24433

        #4
        Tiny script = I've got $20 with your name on it

        use freelancer or upwork.


        Comment

        • Klen
          • Aug 2006
          • 32235

          #5
          No need to use htaccess, you can simply create file with JSON storage and save it by ZEND framework all ip's which you want to ban and then mass include php file with ban code on every file.

          Comment

          • HairyChick
            Slowly dying
            • Sep 2012
            • 3091

            #6
            Originally posted by Oracle Porn
            Tiny script = I've got $20 with your name on it

            use freelancer or upwork.
            Tiny script = 5 lines of code which I basically said in my post, a “handful of lines is a tiny script to me” but I guess you had to dumb it down for yourself and others who didn’t understand the meaning was “I don’t have big bucks to spend and it’s not a big script requiring hours of coding.” I hope it’s clearer now. It was clear to the folks who emailed me.

            If I wanted a freelancer, I’d have posted there and paid $10. If I want a qualified person who costs more but does it right, I post here. I also try to keep it in our industry and help coders get noticed. No surprises, either. I clearly say it’s a small amount of coding for a small price. I also took out a part of it after it was pointed out that it was easier without it. Thank you, k0nr4d.

            KlenTelaris, thank you but I no longer can translate geek speak! Ten years out of coding and amnesia don’t help me though I’ve seen JSON listed here and there. JavaScript something something I assume.

            I’ve got a handful of emails to answer about it and believe I found my coder. If not, I’ll, update this post. Thanks to those that responded.
            *****************************************
            Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
            *****************************************

            Comment

            • sarettah
              see you later, I'm gone
              • Oct 2002
              • 14297

              #7
              8chars..........
              All cookies cleared!

              Comment

              • sarettah
                see you later, I'm gone
                • Oct 2002
                • 14297

                #8
                Originally posted by PamWinterReturns
                Tiny script = 5 lines of code which I basically said in my post, a “handful of lines is a tiny script to me”
                Your screen to capture the input will be more than 5 lines of code.

                .
                All cookies cleared!

                Comment

                Working...