Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
redirection url how to pass parameters to a url redirection futuremode msg:4456128 9:10 pm on May 21, 2012 (gmt 0) 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: http: //www.mydomain.com/clients.clientarea.php?op=clientarea&EmailAddremail@example.com&Password=Um8TF83 using: header("Location: http: //www.mydomain.com/clients.clientarea.php?op=clientarea&EmailAddr=".$EmailAddr."&Password=".$Password, true); but I get: http: //clientarea.mydomain.com/clients.clientarea.php/?op=clientarea&EmailAddrfirstname.lastname@example.org&Password=Um8TF83 with the / added by the browser before the ? How do I redirect using parameters without the / issue?
g1smd msg:4456134 9:22 pm on May 21, 2012 (gmt 0)
Use the "Live HTTP Headers" extension for Firefox to see whether the duff URL is immediately generated or whether something else redirects the request to that duff URL.