Use this class to show the attempts of the CodeRed Worm to infect your webserver. This code should work with all webserver using the Apache-logfile format.
Please also check my other class CNimda (http://phpclasses.upperdesign.com/browse.html/package/335) for scanning after the NIMDA Worm