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

How do I stop a php script?

0 Answers  


What is a helper function?

0 Answers  


What does $_env mean?

0 Answers  


What new features php7 has in store for us?

0 Answers  


When you will get the error "Cannot add header information"?

2 Answers  






What is $$ in php?

0 Answers  


hello myself Atul saini completed mca in 2007 due to personal problem i cant do job.now i really search 4 a job.i dont know where i go i think simple think is learn php anyone help me wat i can do for a job. thanks

4 Answers  


What is the advantage of runtime polymorphism?

0 Answers  


Which variable declarations within a class is invalid in php?

0 Answers  


Do you know what does $globals means?

0 Answers  


Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

0 Answers  


Differentiate echo vs. Print statement.

0 Answers  


Categories