Home >Backend Development >PHP Tutorial > js提交表单被php拒绝,怎么解决

js提交表单被php拒绝,怎么解决

WBOY
WBOYOriginal
2016-06-13 12:44:46922browse

js提交表单被php拒绝,如何解决?
php部分:
帝国cms模板,php公用文件用来处理上传的文件,为了防止非法调用定义了:
if (!defined('ROOT_IN'))  die('不能访问');


模板部分:
uploadify或者swfupload插件只能flash直接提交文件,不能使用

来提交文件,现在php接收不到$_POST和$_FILES值,请教大神们怎样才能让php接受到表单的值?

php接受不到post值
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
Previous article: ,解密 Next article: PHP事务的怎么写