[!--quoteo(post=374436:date=May 16 2006, 05:26 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ May 16 2006, 05:26 PM) [snapback]374436[/snapback][/div][div class=\'quotemain\'][!--quotec--] file read to array - [a href=\"http://ca.php.net/manual/en/function.file.php\" target=\"_blank\"]http://ca.php.net/manual/en/function.file.php[/a] then use count() for size of array to get the end element, etc. reverse array might be useful to you as well - [a href=\"http://ca.php.net/manual/en/function.array-reverse.php\" target=\"_blank\"]http://ca.php.net/manual/en/function.array-reverse.php[/a] [/quote] I can't use that because the file can be up to 100Meg, which is why I need to read from the bottom up, because I will only need the bottom 1,000 lines (based on date) or so. Eg of chronological log file contents V,<date&time>,0,150 V,<dateTime>,0,14d D,<dateTime>,0,16e I need to get to the bottom 1,000 lines or so.....in <1 sec. Possible?