if( $_SERVER['REQUEST_METHOD'] === 'POST' )
$RequestMethod = filter_input(INPUT_SERVER, 'REQUEST_METHOD', FILTER_SANITIZE_STRING); if ( $RequestMethod === 'POST' ) { // Form data is posted to the page so ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)