As stated by people above, PHP does NOTnot have a global variable to quickly access data in a DELETEDELETE request. Why, I do not know. Probablyknow; it probably hasn't been as used as GETGET and POST historiclyPOST historically. So you
You would have to check the request type using $_SERVER['REQUEST_METHOD'] and and then retrievingretrieve the entire body using the php://input stream and extractingextract your data from that. You could create a function that does this on every request and saves it in a global variable named $_DELETE if you would like to keep a similar look to your code (assuming you use $_POST and $_GET). You could even patch youyour PHP to do this and compiling your own version of PHP. But, but that would of course confuse people who try to run your code on another PHP installation :)