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

PHP如何获取DELETE请求的参数

WBOY
Release: 2016-06-13 13:18:32
Original
2507 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:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template