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 are the difference between overloading and overriding in oops?

544


Which operator is used to concatenate two strings in PHP?

549


What is the difference between laravel and php?

506


How do you remove duplicates from an array?

662


Can I use php in visual studio?

535






Explain some of the php string functions?

531


How to generate a form?

615


What is php oops concepts?

528


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

513


What is the difference between print() and echo() in PHP?

570


What are the php variables?

535


What does the array operator '===' means?

556


What are string functions?

508


What is cms php?

505


What is global array in php?

575