[ back to toc ]

formmail application from matt's script archive

Date: 2002/01/10 18:04

Q:
got formmail.pl here on my desktop. set the opening line at:
!/usr/bin/perl (which is where it's at) i have $mailprog =
'/usr/sbin/sendmail';
which is where th sendmail is at. I have this in my html:
form method="post"
action="http://www.midnightgraphicsonline.com/cgi-bin/formmail.pl" (which
is where the formmail.pl is at)
yet i still get an internal server error message when I submit. am i an
idiot here? am i missing something obvious. can you lend me a hand?
A:
Maybe this is a mistyping in your mail, maybe I wrote it wrong, but the
first line has to be

#! /usr/bin/perl

regards,
Peter
Q:
Thank you for your quick response. Yes, error on my part. It reads:
#! /usr/bin/perl and I'm still unlucky. I can't tell where the breakdown
is occurring. I'm thinking it's in the HTML (when I call up the script)
but I don't have a lot of experience to draw from here.

A:
Have a look at the error log can help. I can not help without that.

Regards,
Peter

[ back to toc ]