表单提交失败:404错误
问题描述:
尝试提交表单时出现以下错误:表单提交失败:404错误
您无权访问此服务器上的/refstyle/displayfile.php。
此外,试图使用ErrorDocument来处理请求时遇到一个404 Not Found错误。
PHP代码:
<form action="" method="POST">
<button type="submit">Save</button>
<textarea name="style" id="refstyle"><?php echo file_get_contents("example.bib");?></textarea>
</form>
如果我删除形式,一切正常fine.Searched了很多,但没有一次成功。
答
当我有这个问题,我还得跑:
chmod 755 [filename]
由壳体,和固定的问题。
此表格不能转到404,当它发送到同一页面上时。 – panther 2014-11-25 14:01:37
它可以如果javascript改变后加载操作... – RichardBernards 2014-11-25 14:02:10