Hello, (confused where to post this, so sorry if wrong forum) If a website is linking to my site, and link is clicked, I can get refer info. but what if it's not linking to my site, then how can I get the URL of last page they were visiting? I was thinking about browser history (JS), but it seems that all codes I found have problems on firefox. This is for a social bookmarking php script, and I need to find some "proven" way to get the last visited URL. Please help with some codes, or suggest something. Thanks
Try PHP for example: <?php echo $_SERVER['HTTP_REFERER']; ?> then you see where the user can from, except if the site is opened in a new window. or with javascript see: http://www.netmechanic.com/news/vol4/javascript_no14.htm Have fun!
that's for clicks. If they do not click, you can't access the browser history without some hacking, and that only works in javascript. So no, not possible in PHP
See DP is not linking to any social bookmarking websites. Now if you want to bookmark a thread of DP to a social bookmark, how would you do it? Do you need to type the URL on that site, or they can themselves find out the last page you visited? If they can, then that is what I need to do. They can only track a referer if DP was linking to them. Thanks
i have no idea about social bookmarking sites, but I assume you either download a browser plugin or type it in