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

Answers were Sorted based on User's Feedback



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

Answer / webguy

It's $_SERVER['HTTP_REFERER'];

Is This Answer Correct ?    7 Yes 0 No

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

Answer / asish kumar khuntia (mithu)

Sorry for previous wrong answer.
In php u can get through $_SERVER page referer.

Is This Answer Correct ?    3 Yes 4 No

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

Answer / 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

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

Answer / master

try to find out the url of the page. finish!!!!!

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More PHP Interview Questions

Explain how to execute a php script using command line.

0 Answers  


Is wordpress a php framework?

0 Answers  


What is the use of strpos in php?

0 Answers  


How does php work with apache?

0 Answers  


What is the differences between $a != $B and $a !== $B?

0 Answers  






What are the advantages of indexes in php?

0 Answers  


What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

0 Answers  


How to create an empty array in php?

0 Answers  


How does php serialize work?

0 Answers  


What are the advantages of not using any frameworks ?

1 Answers   Sonata,


How to check an element is exists in array or not in php?

0 Answers  


What is split function in php?

0 Answers  


Categories