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

PHP如何获取DELETE请求的参数

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:41:34
Original
1138 people have browsed it

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

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

Related labels:
Statement of this Website
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
Latest Issues
javascript - Leaking arguments
From 1970-01-01 08:00:00
0
0
0
arguments problem
From 1970-01-01 08:00:00
0
0
0
Default parameter problem
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template