Php 发布数据时出错

Php 发布数据时出错,php,html,post,Php,Html,Post,这是我的设想 我有一个有很多输入字段的表单。其中有几个是URL的输入字段。。。当我输入(或任何url)并单击“继续”按钮时,会出现以下错误 Not Acceptable An appropriate representation of the requested resource /new-product-action.php could not be found on this server. Additionally, a 404 Not Found error was encounte

这是我的设想

我有一个有很多输入字段的表单。其中有几个是URL的输入字段。。。当我输入(或任何url)并单击“继续”按钮时,会出现以下错误

Not Acceptable

An appropriate representation of the requested resource /new-product-action.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
包含表单的文件名为
newproduct.php
,接收post数据的文件名为
newproduct action.php

如果我拿出url,只输入任何字符(不是这种格式),它就会工作

现在,
新产品action.php
只是使用

echo '<pre>';
print_r($_POST);
echo '</pre>';
echo';
打印(邮政美元);
回声';
想一想为什么以url格式传递字符串时,系统会失败


谢谢。

是否涉及html5验证?您如何验证您的输入?@Dorvalla是的,我正在使用type='url'请显示您的表单html源代码?