使用bootstrap的PHP联系人表单
我像其他3个联系人表单一样尝试过,但都不起作用,因此我下载了此模板它是一个引导模板+联系人表单,我只需一次编辑就将其上载到服务器上,我更改了这一行:使用bootstrap的PHP联系人表单,php,forms,twitter-bootstrap,contacts,Php,Forms,Twitter Bootstrap,Contacts,我像其他3个联系人表单一样尝试过,但都不起作用,因此我下载了此模板它是一个引导模板+联系人表单,我只需一次编辑就将其上载到服务器上,我更改了这一行: $to = 'myemail@gmail.com'; // Add your email address in between the '' replacing yourname@yourdomain.com - This is where the form will send a message to. 它不起作用了。 然后我在与contact
$to = 'myemail@gmail.com'; // Add your email address in between the '' replacing yourname@yourdomain.com - This is where the form will send a message to.
它不起作用了。
然后我在与contact_me.php相同的文件夹中找到了这个文件
埃罗鲁日志
有人能帮忙吗?如果您检查php.ini,您可以看到禁用函数的设置。这可能是在此处设置的,您可以编辑此设置以启用。您的web主机已禁用
mailI()
函数的使用。因此,我是否应该向他们发送电子邮件并要求启用mail()函数,即;是什么?
[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