_ck_
By: a guest | Sep 5th, 2009 | Syntax:
PHP | Size: 0.33 KB | Hits: 848 | Expires: Never
<?php
/*
Plugin Name: Block Bad Queries
*/
if (strlen($_SERVER['REQUEST_URI'])>255
||
strpos($_SERVER['REQUEST_URI'],"eval(") ||
strpos($_SERVER['REQUEST_URI'],"base64")) {
@header("HTTP/1.1 414 Request-URI Too Long");
@header("Status: 414 Request-URI Too Long");
}
?>