Get last visited Page or URL in PHP
Tuesday, March 9, 2010 12:15Posted in category PHP Interview Questions
No Comments
If you will go to 1 page to another page on second page it will display that you have come from Page 1.
// index.php <a href="index2.php">Go to index2</a> // index2.php echo $_SERVER['HTTP_REFERER']; // Display index.php
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.


