Re: $_GET verses $_POST
| From: | Tom Worster | Date: | Mon, 13 Apr 2009 23:14:47 +0000 |
| Subject: | Re: $_GET verses $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291453@lists.php.net to get a copy of this message | ||
On 4/13/09 6:47 PM, "Michael A. Peters" <mpeters@mac.com> wrote:
> For me the biggest advantage of post is the URLs aren't ugly.
> For cases where get with a variable in the URL is useful (IE
> product=BluePhone) - I prefer to handle that via mod_rewrite.
>
> The requests get handled by generic.php and generic.php then looks at
> what the requested URI is to figure out what otherwise would have
> specified by a get.
>
> Just as linkable as ?get=whatever and a lot prettier for the user to
> look at in the url bar.
now we've gotten into aesthetics.
personally, i think there's hardly anything more attractive than get
parameter values that, once urlencoded, parse as correct pcres. there's no
accounting for taste.