Menu
I have a site that gets quite a few hits from sql injection attempts or attempts to find uri’s like /wp-login.php or other presumably soft targets. I end up trapping much of this in my php header code, and just die() when I catch them. I’m wondering whether there’s a better way to handle them, that might tell the (presumably automated) bot something like a 500 server internal error, that could have a chance of deciding to stop poking me.