<?php $file = "c:/progra~1/abyssw~1/access.log"; // You can specify the amount of last bytes in the query string - ex: ?4000 $int = (int) $_SERVER['QUERY_STRING']; if ($int > 0) {$last = 0 - $int;} else {$last = -3000;} // default amount of last bytes to read ?> <PRE> <?php // Start the data on the second line - to avoid chopping the first line ?> </PRE>