PHP DosDetector Class to prevent DoS attack to your web server using APC Cache as a firewall.