How to find out, how a user visited a particular page ?

  • We add a counter in that page.
  • When a page load that counter value will increase.
  • For storing its previous value we can use session, database etc.
<?php
$counter++;
?>

Categorized in:

Tagged in:

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,