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

write the function to fetch a image from mysql databases (datatype blob).

1 Answers  


Tell me what is use of in_array() function in php?

0 Answers  


List the different types of print functions available in php?

0 Answers  


What is php static function?

0 Answers  


How can I embed a java programme in PHP file and what changes have to be done in PHP.ini file?

1 Answers   Sify, Small Biz Express,






how to track no of users logged in?

0 Answers  


How send email in php?

0 Answers  


How can we destroy the session, how can we unset the variable of a session?

5 Answers  


What is the difference between Reply-to and Return-path in the headers of a mail function?

2 Answers  


What is api laravel?

0 Answers  


What is the use of the function htmlentities?

0 Answers  


Which are the best start and end tags to use?

0 Answers  


Categories