Frequently Asked Questions (FAQ)

Q: What language should I post my questions in?
A: English. If you have a question about one of the translated versions of PHPFormMail (PHP Form Mail) please post it in the Languages Forum.

Q: Why didn't you answer my question?
A: This could be for quite a few reasons. I promise none are personal :) In truth, I do try to answer most of the questions that come across these boards but I don't always get every last one.

Q: I am getting a 500 Internal Server error when I try to use the formmail.php. How do i fix this?
A: Please don't put formmail.php in your cgi-bin directory. (In other words, put formmail.php in a different directory and try that.)

Q: Why do some people receive an error message that there was no HTTP_REFERER?
A: This is caused by software not sending out an HTTP_REFERER when a page is requested. There are two ways to fix this. 1) Tell that person to enable HTTP_REFERERS. 2) Modify the source of your formmail.php from define('CHECK_REFERER', true); to define('CHECK_REFERER', false);

Q: Are there security issues with making CHECK_REFERER false?
A: There are some slight concerns with changing that setting. If you were to disable it, it would NOT allow spammers to send mail to everybody and their sister. It would however, if the spammer figured out the domains listed in the $referers allow them to send spam to the domains listed in the $referers. General guideline here, unless you really need to remove the check, leave it in place, it's there for a reason.

Q: Does PHPFormMail (PHP Formmail) require the enabling of GLOBAL_VARS?
A: It is no longer required since 1.06.0.

Q: Does PHPFormMail (PHP FormMail) work with PHP5?
A: Yes, it will run on PHP5 *without* any modifications.

Q: Can PHPFormMail (PHP Form Mail) send file atachments?
A: PHPFormMail cannot, but Don's extended version of PHPFormMail can. You can get it at http://don.formdude.com/

I'll compete this as more questions come up.

User login