joined:May 21, 2012
I am logging in from a main domain if the login is successful the user is redirected to a subdomain which is passed the login vars. In the browser a "/" is added before the ? and the parameters aren't passed getting an 404 error. I am sure there is a simple solution but have not been able to figure it out. I was wondering if someone could assist me?
With a domain http: //www.mydomain.com
which on successful login is redirected to:
header("Location: http: //www.mydomain.com/clients.clientarea.php?op=clientarea&EmailAddr=".$EmailAddr."&Password=".$Password, true);
but I get:
with the / added by the browser before the ?
How do I redirect using parameters without the / issue?