Page 1 of 1

need help with header location please

Posted: Tue Sep 05, 2006 10:07 pm
by jasondavis
Basicly I have a page which submits to another page
when the user arrives at the new page the URL looks like this:
chat/?agreecheck=on

How can I make it like redirect to :
chat/ if it shows up as chat/?agreecheck=on ? any help appreciated, I looked at php.net header section im still lost examples would be great thanks :)

Posted: Tue Sep 05, 2006 10:18 pm
by feyd
have the logic look at $_SERVER['QUERY_STRING'].

As for the header call, send a "location" along with the full URL to redirect to.