Thanks for the reply. The code i displayed does actually work
I'll explain a little more in detail
there is a link in http://www.chapter3.net.nz which appends an id CHAP03 (ie: href http://www.travelace.info?affiliate=CHAP03) this in turn goes to www.travelace.info which I use the displayed code to capture the id (CHAP03). That works properly. this is what I use first off to capture CHAP03 and it works
$envs = array("QUERY_STRING");
foreach ($envs as $env)
{
if (isset($$env))
$affiliate="${$env}";
}
$affiliate_array = explode ("=", $affiliate);
$affiliate = "$affiliate_array[1]";
#print "affiliate = $affiliate<br>\n";
if("$affiliate" == "")
{
header("Location: [url]https://secure.travelace.co.nz/travelace.html[/url]");
}
else
{
header("Location: [url]https://secure.travelace.co.nz/travelace.html?affiliate=[/url]$affiliate");
}
?>
it when I get to the page on the secure site using the same code but different variable names as displayed earlier I can't seem to capture the ID number
Does this help
I tried using what you suggested and it still didn't give me a result
Any further help would be really apprecated
Regads
Ray