Home >Backend Development >PHP Tutorial > PHP如何获取DELETE请求的参数

PHP如何获取DELETE请求的参数

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 13:18:322520browse

PHP怎么获取DELETE请求的参数?
RT.

------解决方案--------------------
请举例说明
------解决方案--------------------
$_GET
$_POST
$_REQUEST
------解决方案--------------------
parse_str(file_get_contents('php://input'), $arguments);
echo $arguments['abc'];
------解决方案--------------------
type:'DELETE', 只有部分浏览器支持,建议你还是走寻常路吧 ,用post/get 方式。
$_REQUEST 接收

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn