[使用引导程序的PHP联系表格

问题描述 投票:-4回答:1

[我尝试了其他3种联系方式,但都没有成功,所以我下载了此模板https://startbootstrap.com/template-overviews/freelancer/,它是引导程序模板+联系方式,我只进行了一次编辑就将其上传到服务器上,更改了这一行:

$to = '[email protected]'; // Add your email address in between the '' replacing [email protected] - This is where the form will send a message to.

并且它不起作用。然后我在与contact_me.php相同的文件夹中找到此文件eror_log

[04-Jun-2017 22:17:29 UTC] PHP Warning:  mail() has been disabled for security reasons in /home/myname/public_html/startbootstrap-freelancer-gh-pages/mail/contact_me.php on line 24

有人可以帮忙吗?

php forms twitter-bootstrap contacts
1个回答
0
投票

如果您检查php.ini,则可以看到disable_functions的设置。可以在此处进行设置,您可以对其进行编辑以启用它。

© www.soinside.com 2019 - 2024. All rights reserved.