<?php
require_once("x64_simple_counter.php");
$counter=new x64_simple_counter(); $times=$counter->auto(); $counted=$counter->already_counted(); ?> <html> <head> <title>Example1</title> </head> <body> <?php if($counted) { ?>Welcome back<?php }else{ ?>Hello<?php } ?> visitor.<br> <center><font size="1">This page has been visited <?php echo $times; ?> times since <?php echo date("m/d/Y g:i:s A",$counter->since_time); ?></font></center> </body> </html>
|