removing query string
Posted: Wed Sep 29, 2004 3:19 pm
Lets say user clicks on link with query string...browser sends request to server and server executes my php code...
what i want to do is to remove query string so the browser won't display it when document is sent to it...
I was thinking to take $_SERVER['REQUEST_URI'], remove from it the query string and then send modified Location header (with same $_SERVER['REQUEST_URI'] but without query string)
but i'm not sure it is a correct way to do this...
can someone confirm or suggest something else?
thanks
what i want to do is to remove query string so the browser won't display it when document is sent to it...
I was thinking to take $_SERVER['REQUEST_URI'], remove from it the query string and then send modified Location header (with same $_SERVER['REQUEST_URI'] but without query string)
but i'm not sure it is a correct way to do this...
can someone confirm or suggest something else?
thanks