Link to home
Start Free TrialLog in
Avatar of lingstar
lingstar

asked on

Redir not going to proper site

Good morning,

I have the following on
http://www.barbaraling.com/rediresp.php

<?
if(!$ca){
$ca=1;
} else{
$num = array(
1 => "http://www.auctionupperhand.com/",
2 => "http://www.auctionupperhand.com/recruiting/index.html"
);
}
Header( "Location: $num[$ca]");
?>


I would assume that if $ca is not defined, it would
default to the first option (ie, auctionupperhand).
But it goes to the site on which its hosted
(barbaraling.com).  Might someone point out
where I've been clueless?

Thank you in advance,

Barbara Ling
ASKER CERTIFIED SOLUTION
Avatar of _Niko_
_Niko_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lingstar
lingstar

ASKER

Thank you thank you thank you!!!!!!!!!!!!

I greatly appreciate your insights, they
were most helpful.

Best wishes,

Barbara Ling