Re: [PHP] How do I remove unused GET parameters from the URL?

2010-01-20 Thread Rene Veerman
Michael, while i respect your choices, i think you should know that jquery.com is pretty good at minimizing browser-incompatibility headaches (and keeping js apps small), and the quircks that are left are easy enough to learn about. for things whereby - the server needs to generate tons of HTML

Re: [PHP] How do I remove unused GET parameters from the URL?

2010-01-20 Thread Ashley Sheridan
On Tue, 2010-01-19 at 20:55 -0800, Daevid Vincent wrote: I have an HTML form with a hundred or so elements on it, used for searching a database. When the user submits the form (via GET) the URL is loaded with ALL of these fields, and many of them are not even actually used in the search

Re: [PHP] How do I remove unused GET parameters from the URL?

2010-01-20 Thread Michael A. Peters
Rene Veerman wrote: Michael, while i respect your choices, i think you should know that jquery.com is pretty good at minimizing browser-incompatibility headaches (and keeping js apps small), and the quircks that are left are easy enough to learn about. for things whereby - the server needs to

Re: [PHP] How do I remove unused GET parameters from the URL?

2010-01-20 Thread Ashley Sheridan
On Wed, 2010-01-20 at 10:30 -0800, Michael A. Peters wrote: Rene Veerman wrote: Michael, while i respect your choices, i think you should know that jquery.com is pretty good at minimizing browser-incompatibility headaches (and keeping js apps small), and the quircks that are left are

RE: [PHP] How do I remove unused GET parameters from the URL?

2010-01-20 Thread Daevid Vincent
Comments inline below... -Original Message- From: Ashley Sheridan GET has a limit on the amount of data it may carry, which is reduced the longer the base URL is. True, but for search parameters, it's IMHO best to use GET rather than POST so the page can be bookmarked. This used

RE: [PHP] How do I remove unused GET parameters from the URL?

2010-01-20 Thread Ashley Sheridan
On Wed, 2010-01-20 at 13:06 -0800, Daevid Vincent wrote: Comments inline below... -Original Message- From: Ashley Sheridan GET has a limit on the amount of data it may carry, which is reduced the longer the base URL is. True, but for search parameters, it's IMHO best to

[PHP] How do I remove unused GET parameters from the URL?

2010-01-19 Thread Daevid Vincent
I have an HTML form with a hundred or so elements on it, used for searching a database. When the user submits the form (via GET) the URL is loaded with ALL of these fields, and many of them are not even actually used in the search criteria.

Re: [PHP] How do I remove unused GET parameters from the URL?

2010-01-19 Thread Michael A. Peters
Daevid Vincent wrote: *snip* The problem as I see it, is that this magic happens when the user hits Submit, so not sure PHP has any way to intercept at that point. Javascript might be able to do something on the onClick event or onSubmit I suspect. But this seems like something that someone

Re: [PHP] How do I remove unused GET parameters from the URL?

2010-01-19 Thread Michael A. Peters
Daevid Vincent wrote: I guess I could always redirect to some 'scrubber' page that strips them out and redirects on to the refering page again, but that seems klunky. BTW, I want to use GET so that the page can be bookmarked for future searches of the same data (or modified easily with