Forum Moderators: open
I have got a new domain recently,
let's say www.mydomain.com.
I forward this domain to another web hosting server,
let's say www.sam.webhost.com
I also have a PHP script inside www.sam.webhost.com/index.php using
$reffer = getenv("HTTP_REFERER") to keep referer.
Now I post my link www.mydomain.com to some message board
such as www.messageboard.com.
The question is:
When use Netscape to click www.mydomain.com, the referer is
www.messageboard.com, it is what I want.
But if use IE to click, the referer is www.mydomain.com rather than the original www.messageboard.com.
So how can I do to keep the original referer in IE?
Thanks a lot.
On mydomain.com, can you add a query string to the target of the forward? If so, that string could hold the original referer. Then at the final destination you could grab that information (and depend on it a bit more) instead of using the browser's header information.
Maybe there's another idea out there...I realize that when you are just pointing to a new domain you may not have server side scripting available.
I cannot write any server side script in the
domain register site as I only use their domain
register service. I do not have any web hosting
in their server.
I can only do is forward www.mydomain.com to another
site WITH mask or WITHOUT mask.
If adding a query string into www.mydomain.com in order
to hold the original referer is the only solution,
then should I join the web hosting service with the
domain register site?