Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if request type is post

$_SERVER['REQUEST_METHOD']
// e.g 
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
     // The request is using the POST method
}
 
PREVIOUS NEXT
Tagged: #request #type #post
ADD COMMENT
Topic
Name
8+7 =