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.
| [reply] |
This might be totally unreleated.
Just as a note, but on most filesystems, directories with a large number of entries (i.e. 10,000) can start to get really slow to access. Sometimes you don't realize that merely finding the problem is an issue until you try and open just one, and that can take some time as the OS scans for the requisite directory entry.
| [reply] |