Posted by John Dunlop on 12/14/06 09:18
Jeremy:
> I actually *don't want* the query string to be in there. In the past,
> using $_SERVER["REQUEST_URI"] has been a reliable way to submit back to
> the current page when mod_rewrite is messing with the URL (meaning using
> the current script path won't work). Now, it's not really working that
> well because it's including the current query string and messing things up.
Think twice about publishing two different URLs pointing to the
same resource.
You can separate the query part from the path part by looking for
the first question mark.
--
Jock
[Back to original message]
|