Don';我不理解为什么PHP联系人表单显示错误消息而不发送


Don't understand why PHP contact form is showing an error message and not sending

http://madaxedesign.co.uk/dev/contact.php

你好,

我想知道是否有人能告诉我,为什么当我填写这份表格时,它只会给我这个信息。

You do not have permission to use this script from another URL, nice hacking attempt ;p.

而不是说谢谢,然后继续发送电子邮件给我的电子邮件客户。

我还是php的新手,所以任何帮助都会很棒。

感谢

因此,您的<form>操作被设置为/contact.php,它应该是/dev/contact.php或只是contact.php,因为您已经在/dev/中了。

通过使用Chomes检查器更改表单操作,我成功地提交了一条消息。