* getting $_POST["foobar"] without checking that it exists * getting $_POST["foobar"] without checking that request method is POST * not setting default case in switch case for header