Basically, this code goes to a directory and read all the files in it. They are all log files and are named individually like, 04132002.txt till today’s date 06182202.txt.
Then from a form with two select menus the user choose two dates to check the activity for a particular action. Like choosing dates from 04132002 to 0682002 the program will have to display to the browser all the users for that date and what page they visited during that period on the website.
Complications arrive when parsing the file, the program hangs while doing some substitutions, or it could be for other unknown reason.