所以我在提交包含url作为输入值的表单时遇到了一些麻烦 . 下面是代码,值和错误消息 . 任何人都可以建议吗?
My Form
<form action="" method="post">
<input type="text" name="name" />
<input type="submit" value="submit"/>
</form>
当我提交表单时,我收到以下错误:
禁止您无权访问此服务器上的/devadmin/panel/test.php . 此外,尝试使用ErrorDocument处理请求时遇到403 Forbidden错误 .
1 回答
我已经弄明白了...我的服务器不接受http://或https://在文本字段中所以我写了一个jquery函数
这将从文本字段中的链接中删除http或https .