PHP Coding for Page view Count

hi.this is a page view count automatically to any one enter the start in refresh or reload a website it's automatically increment a count  .
   1.Register the session " session_register('contador'); ". increment contador " ++$_SESSION['contador']".

Note : u refresh or reload page automatically increment value 

Source Code:

echo '<a href="'.$PHP_SELF.'?'.$SID.'">Contador vale:'.++$_SESSION['contador'].'</a>';