Hi,
I am trying to get HTTP_REFERER link from some sites. Here is the thing. An affiliate site link my page from their website. For example: "http://somedomain.com/url.cgi?[url]http://www.mydomain.com[/url]"
When users click the above link, the page is redirect to "http://somedomain.com/url.cgi?somting=something" then they use <META HTTP-EQUIV="REFRESH" CONTENT="1; URL=http://www.mydomain.com"> to redirect to my page.
So when I did $_SERVER["HTTP_REFERER"], I got blank. I also tried with "http://{$HTTP_HOST}{$REQUEST_URI}", but I only got my own URL.
How can I trace back so that the page comes from "http://somedomain.com/url.cgi". Thanks for your help.