On Wed, Jul 14, 2010 at 2:58 PM, David Mintz <[email protected]> wrote: > > Having become addicted to pretty URLs, I am finding the ugly kind you get > following submission of a GET form rather... ugly. Just wondering if anyone > has any ideas about this, before I consider writing some Javascript to > suppress the default event and location.href = example.org/param1/value1 etc > > -- > Support real health care reform: > http://phimg.org/ > > -- > David Mintz > http://davidmintz.org/ > > >
That would be pretty simple to do. If you pursue it, you would need to make sure your PHP code still correctly handles the page with the regular GET parameters in case someone visiting your site has Javascript blocked/disabled. In other words, the page would need to respond the same to a request for either of these resources: example.org/?param1=value1 example.org/param1/value1 Andrew
