Re: Re: Best way to test for form submission?
| From: | tedd | Date: | Sat, 29 Aug 2009 13:17:38 +0000 |
| Subject: | Re: Re: Best way to test for form submission? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297473@lists.php.net to get a copy of this message | ||
At 5:51 PM +0100 8/28/09, Ashley Sheridan wrote:
I usually just tend to use the $_REQUEST array instead of $_POST or $_GET. You get the benefit of being able to work with both arrays (as well as $_SESSION and $_COOKIE) without any drawbacks. Thanks, AshAsh: Drawbacks are funny things. Not knowing where my data originated ($_GET, $_POST, or $_COOKIE) and having the possibility of what I was expecting overridden in a $_REQUEST is what I would call a drawback. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com