Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if post request php

Better use $_SERVER['REQUEST_METHOD']:

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    // …
}
 
PREVIOUS NEXT
Tagged: #check #post #request #php
ADD COMMENT
Topic
Name
4+9 =