How do I see $HTTP_REFERER
Posted: Sun Nov 19, 2006 4:25 am
I have 2 URL's resolving to the same page. I want to know which one?
I need the value of $site
If I use this code:
It does not recognise the URL when I land on the page, but if I refresh, it does.
Any ideas on how I see the URL the first time I land?
I need the value of $site
If I use this code:
Code: Select all
if (preg_match ("/www.mydomain.com/i", "$HTTP_REFERER")) {
$site = "hprp";
}Any ideas on how I see the URL the first time I land?