Page 1 of 1
Location Header and GET
Posted: Mon Dec 17, 2007 4:52 pm
by iknownothing
Hey guys,
Im using the Header to redirect to a page. The new page needs a variable in it so it works ok, but firefox is telling me its an incomplete link, is there any way around this?
Posted: Mon Dec 17, 2007 4:53 pm
by John Cartwright
What?
Posted: Mon Dec 17, 2007 4:57 pm
by Jonah Bron
Do you mean that you are using <meta> redirection?
Posted: Mon Dec 17, 2007 4:59 pm
by iknownothing
Code: Select all
header("Location: http://www.asite.com/index.php?page=clienttools");
..doesn't work...
Posted: Mon Dec 17, 2007 5:05 pm
by John Cartwright
Sorry, never heard of such an error message. Going to need a bit more information if you want my help still.
What is the error message exactly? What is the exact link? Firefox version?
If I were to take a shot in the dark I'd say you need to urlencode() your variable since it is breaking the url.
Posted: Mon Dec 17, 2007 10:24 pm
by s.dot
and also a call to die() or exit() directly after the header