GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Business Script Coder Needed For Tiny Script (https://gfy.com/showthread.php?t=1304688)

HairyChick 10-15-2018 07:38 PM

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

k0nr4d 10-16-2018 12:41 AM

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.

HairyChick 10-16-2018 05:19 AM

I could do it without the time. I’ll clear it weekly

Oracle Porn 10-16-2018 06:43 AM

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

use freelancer or upwork.

Klen 10-16-2018 07:49 AM

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.

HairyChick 10-16-2018 05:37 PM

Quote:

Originally Posted by Oracle Porn (Post 22350449)
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.

sarettah 10-16-2018 06:11 PM

8chars..........

sarettah 10-16-2018 06:19 PM

Quote:

Originally Posted by PamWinterReturns (Post 22350822)
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 times are GMT -7. The time now is 08:08 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123