here's a code snippet:
var_dump($_SERVER['REQUEST_METHOD']);
if (
$_SERVER['REQUEST_METHOD'] == 'PUT'
) {
//do things
}
this does not work despite var dump indicates it is indeed a PUT method.
GET,POST,DELETE all ok tough.
I'd appreciate some help.
Aucun commentaire:
Enregistrer un commentaire