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
What is use of in_array() function in php?
Require_once(), require(), include(). What is difference between them?
What is the difference between php 5 and php 7?
What is the use of super-global arrays in php?
Applications written to provide a GUI shell for Unix and Linux are called
Explain php parameterized functions.
How to get elements in reverse order of an array in php?
What are the different types of array in php?
Is php a strongly typed language?
Is it possible to submit a form with a dedicated button?
Does php have multiple inheritance?
What is the difference between the functions strstr() and stristr()?
What is the use of print_r function in php?
Explain the difference between isset() and empty()?
What type of headers have to be added in the mail function to attach a file?