Question : if request type is post
Answered by : literate-lentil
$_SERVER['REQUEST_METHOD']
// e.g
if ($_SERVER['REQUEST_METHOD'] === 'POST') { // The request is using the POST method
}
Source : | Last Update : Fri, 04 Feb 22
Answered by : literate-lentil
$_SERVER['REQUEST_METHOD']
// e.g
if ($_SERVER['REQUEST_METHOD'] === 'POST') { // The request is using the POST method
}
Source : | Last Update : Fri, 04 Feb 22