I am not going to assist you to get Matt's original scripts working. Hopefully you will take this piece of advice -> Download the secure version of Formmail from The NMS part of Matt's site. There is a README. If you READIT you will find everything clearly documented. The user servicable parts are at the top of the script. Read the readme, and follow the instructions.
If you have not programmed anything ever be aware that computers are fussy. THIS is not the same as This ie case matters. 'This' is OK but 'This is missing a closing quote. In general every ; , . => ( ) 'quote' is important so follow the examples exactly
The CGI Help Guide will help you as well. It will tell you how to find the syntax error you have introduced through your edits.
| [reply] |
| [reply] |
Actually, I am using the FormMail from nms.
all I am doing is adding the recipient hidden field in the form. Before i did that the output was successfully printed to the browser. When I upload the change, I now get the 500 error.
In the pl file I have these settings:
$postmaster
@referers
@allow_mail_to
each include the domain/address that i have included in the form field, and :
@recipients = ();
I am not completely new to programming, but it is quite obviously not my forte.
Thanks again.
Hulio
| [reply] |
| [reply] |
There are better alternatives than FormMail that are easy to use and modify, but don't have nearly as many insecurities. Take a look at http://nms-cgi.sourceforge.net for an excellent set.
| [reply] |
Do you have
use CGI::Carp qw(fatalsToBrowser);
in the script?
This prints an error message to the browser. Without any error message it is hard to say what goes wrong.
An other way to get a better error message is to look in the error_log of the webserver! | [reply] [d/l] |
Perhaps you could show what you are changing the line from and to? | [reply] |