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

Answer Posted / asish kumar khuntia(mithu)

We add a counter in that page.
when a page load that counter value will increase.
eg.
<?php
$counter++;
?>

for storing its previpous value we can use session,
database etc.

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php and sql?

749


What is rest api in php?

696


What is the difference between nowdoc and heredoc?

723


How a constant is defined in a php script?

735


What is htmlentities function in php?

687


Is php a framework?

692


What is the difference between for and foreach in php?

678


Do you know what is the use of the function 'imagetypes()'?

670


How can you propagate a session id?

718


What is the latest version of php?

758


Does strlen include null?

780


How do I find out the number of parameters passed into function9?

720


How to insert a line break in php string?

714


What is php beginner?

688


What is php trait?

708