Here’s what I’m trying to do.
i have a url for my website, let’s call it alphasite.com.
I have some other urls which I using as aliases for alphasite.com. Let’s call these bakersite.com, charliesite.com, etc.
1- I want to know the exact url that someone has entered so that i can
capture that as a variable and use it in Flash to load specific movies. So it someone enters bakersite.com, I want them to directly go to a specific flash movie in alphasite.com.
How do I accomplish this in PHP? Do I use $HTTP-HOST? Will that keep as a variable the original typed in url or will it convert to the actual site, e.g. alphasite.com?
2- Let us say I want to direct people to a specific page, e.g.
alphasite.com/music.html
how can I capture that entire URL.
Thanks. Your help is greatly appreciated.
P.S. Incidentally, I cannot seem to find much on the various environmental variables such as $HTTP_USER_AGENT, $HTTP_FROM, $HTTP_ACCEPT, etc.
I would be useful to have a list of these and a brief description of what they can be used for.
Thanks again.