On Sat, 29 Aug 2009 04:47:09 -0400, "O. Lavell" wrote:

>There are more methods, I always use:
>
>if($_SERVER["REQUEST_METHOD"] == "POST") {
>
>    do_something();
>
>}

+1. Although, this doesn't catch PUT requests, but I have yet to
encounter a place where I want one with form data.
-- 
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to