Re: [PHP] $_SERVER['REQUEST_URI'] being trimmed

2005-02-05 Thread Verdon Vaillancourt
On 3-Feb-05, at 3:46 PM, Richard Lynch wrote: Your very problem is that you are NOT encoding the URL data, so the browser is trying to do it for you, only it can't be sure whether & is supposed to be data or is supposed to separate your URL arguments. http://php.net/urlencode Thanks for the tip re

Re: [PHP] $_SERVER['REQUEST_URI'] being trimmed

2005-02-03 Thread Richard Lynch
Verdon Vaillancourt wrote: > I am trying to build a simple mechanism to allow visitors to set a site > preference (stored in a cookie) by clicking on a link. I want the > cookie set and the original page reloaded with the new cookie set, when > a visitor clicks on the link. > > My link looks like t

Re: [PHP] $_SERVER['REQUEST_URI'] being trimmed

2005-02-03 Thread Verdon Vaillancourt
Thanks for the input Mikey... I guess I'm just not sure how to, and I had already hit on this method that is almost doing the trick :) salut, verdon On 3-Feb-05, at 2:46 PM, Mikey wrote: Any thoughts? Thanks, verdon Why don't you just use JavaScript to set the cookie and then reload the page tha