PHPPHP: Check Server Method if ($_SERVER['REQUEST_METHOD'] === 'POST') {...} The POST part is all CAPITAL. Standard