Forum Moderators: coopster
I would like to use the script so that anyone who is not whitelisted will be subject to the restrictions in Alex's code.
However because I'm not a coder, I don't know which parts of the code to keep and which parts to leave intact.
If anyone could look at the code and provide let me know what my complete php file for my blocking php file would be using the ipbased whitelist I'd really appreciate it. As the instructions are part of the code, I'm not sure If I'm supposed to just use the code starting on line 229-281 and replace all the code at the top, or if the white list code is supposed to be appended somewhere and if so, then what parts do I take out.
As an aside, if I do get this up and running I would be glad to write new instructions for the script so that other PHP challenged folks may be able to use it:-)
Thanks for your time.
[edited by: dreamcatcher at 11:35 pm (utc) on June 14, 2008]
[edited by: coopster at 9:35 pm (utc) on June 20, 2008]
As an aside, if I do get this up and running I would be glad to write new instructions for the script so that other PHP challenged folks may be able to use it:-)
Have you contacted the script developer about that option? Perhaps you will get the assistance directly from the source if you were willing to contribute documentation? Sounds like a great idea to me!
In the short term, the answer to you is easy:
$bTotVisit = 0). If any bot scrapes fast enough to trip the fast-scraper block, then it needs to be blocked, no matter who it comes from, else your site will become inaccessible.
See also the small section at the end of my previous post [webmasterworld.com].