[thelist] GET POST Form PHP

rudy r937 at interlog.com
Mon Feb 24 08:56:01 CST 2003


> but a "GET" submission can be bookmarked, while a "POST" cannot, eh?

actually, they both can   ;o)

however, the target of the post might fall down go boom if there are no form
fields

graceful error handling is called for

for example, if the target page is supposed to show the results of a search,
and the total number of possible results is manageable, it could simply
default to "all" results

alternatively, it could issue an error like "please enter some search terms"

actually, dispensing with the concept of an "error" might be more
user-friendly

in fact, if the page is a search results page, it should probably have the
search box(es) right there on the same results page, so that searching again
does not require going (back) to the form to enter search terms

i.e. the form is its own post target

then yeah, you would definitely want to bookmark it and still have it work


rudy







More information about the thelist mailing list