I need help with PHP and mail()
Hi all
Let's get this out of the way straight away
I am not a programmer at all
I don't have a clue about unix and or Linux
The problem
I have made a website and have one page which is a contact form . I have uploaded it and the page as such works fine until I press submit and I get the following error
mail() has been disabled for security reasons .....
In the error log in the PHP folder I have this
[19-Oct-2013 20:54:51] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[19-Oct-2013 20:54:51] PHP Warning: mail() has been disabled for security reasons in /home/ianmcc/public_html/phpscript/contactformprocess.php on line 38
The folder /usr/.... I just cannot find in the root nor any other folder
Anyone out there in Web World who can assist???
Thx in advance
Ian
-
Yes, your Hosting Provider should be able to assist you with this. They should be able to explain why mail() has been disabled for security reasons on their servers. :) 0 -
mail() function is not the best way to do this. Better use PhpMailer Class which is free and do the work fine! 0
Please sign in to leave a comment.
Comments
2 comments