stan003 Posted February 21, 2012 Share Posted February 21, 2012 Hello, I know i can use server side code to capture a url etc, however i have a problem, i have a piece of Javascript that collects some information and passes it back to a php page which then proceses the information collected, which all works fine, on that php page i have the code to collect the refferring page, but obviously it just collects the details of the page it has come from which i already know. Is there anyway of using php to look back and get the page before that and any keywords that might have been used to get to that page, i know i could do this with javascript and include that information in the send, however the javascript is on another site and i really would prefer not having to change that if possible. I am not neccesarily looking for the solution but more if it is possible. Any advice would be appreciated. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/257452-capturing-referrer-url/ Share on other sites More sharing options...
requinix Posted February 21, 2012 Share Posted February 21, 2012 What it sounds like you're asking, no. The referrer is the only piece of history the browser sends (if it even does) and it's only the previous page (supposedly). Quote Link to comment https://forums.phpfreaks.com/topic/257452-capturing-referrer-url/#findComment-1319495 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.