Well, I happen to know php's $HTTP_REFERER variable does the same thing as document.referrer. In fact if I could use php to do the task I need I'd only need three short lines of code.
The problem is that the site I'm working on is already entered in all the search engines with index.html as...
<frame name="bottom" parent.frames[num].location=="test.php?therefferer="+document.referrer;>
When I use this in the frameset, the "bottom" frame is completely empty (ie, when I view source all I see is <HTML></HTML>).
Am I missing something important?
Is this possible, if so, how is it done?
The function (which I've already made) is to grab the document.referrer variable and pass it to a php page via query string.
Passing via query string seems to be the simplest, most troublefree method of getting HTTP_REFERER to my php script.
Thanks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.