Home > Backend Development > PHP Tutorial > PHP无法获得post数据解决思路

PHP无法获得post数据解决思路

WBOY
Release: 2016-06-13 10:21:11
Original
771 people have browsed it

PHP无法获得post数据
有没有谁在PHP中遇到过前台post传递值,后台用$_POST无法获取值

------解决方案--------------------
你可以用$_QUERST接收一下值,至于$_POST不能接受值,可能是你php.ini中的某个参数改变导致的!修改一下register_global 这个参数的就应该可以了,但可能会导致安全性降低!
------解决方案--------------------

探讨

你可以用$_QUERST接收一下值,至于$_POST不能接受值,可能是你php.ini中的某个参数改变导致的!修改一下register_global 这个参数的就应该可以了,但可能会导致安全性降低!
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