I prefer to check the $_SERVER['REQUEST_METHOD'] before I do anything in a script that operates for both GET and POST methods. Also, especially for a switch statement, I'd check for the existance of the variable first, you know some sort of isset() or !is_null() test.
Hope that helps.
-- Jason k Larson
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php