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

Which function you can use in php to open a file for reading or writing or for both?

0 Answers  


How many keywords are there in php?

0 Answers  


What is inheritance in php?

0 Answers  


Can we use include (?abc.PHP?) two times in a PHP page ?makeit.PHP??

5 Answers  


How to get the total number of values in an array?

0 Answers  






What is the use of callback in php?

0 Answers  


Do you know what is the differences between $a != $B and $a !== $B?

0 Answers  


How to know user has read the email-php?

0 Answers  


What is php and sql used for?

0 Answers  


Whether One-line comment begin with pound sing(#) in php?

2 Answers  


What is csrf token and why it is required?

0 Answers  


Is php open source?

0 Answers  


Categories