Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<?php
define('IN_SCRIPT',true);
require('settings.php');
$lines = file($settings['logfile']);
$total = count($lines);
echo $total;
?>
</body>
</html>
-Manuel777