Location: PHPKode > scripts > x64 Simple Counter > x64-simple-counter/example2.php
<?php

require_once("x64_simple_counter.php");

$counter=new x64_simple_counter('example2_counter_data.php',60*15);
$times=$counter->auto(true);

?>
<html>
<head>
<title>Example2</title>
</head>
<body>
There are <?php echo $times; ?> visitors online<br/>
<font size="1">Statistics are based on the last <?php echo ($counter->expire/60); ?> minutes.</font>
</body>
</html>
Return current item: x64 Simple Counter