Discussion Locked

Is anyone talented in CGI?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is anyone talented in CGI?

I have no problems with form mail except this:

My form looks like this >>

But it does not deliver the from: email address into the from: of the mail that arrives.

The from: address line reads:
() ()

and this is shown in the message body:
This message is sent by () on Tuesday, February 10, 2004 at 09:32:10

I'm using the Matt's script where line 394 reads:
print MAIL "From: $Config{'email'} ($Config{'realname'})\n";

What, please, am I not doing?

If there's something I can do for you in return, tell me - anything css, html or javascript.

Thank you.

4 replies

by rexworld

Umm, well the form you have given doesn't even have an email field in the HTML. I'm not sure of the context here though--is there some other way that your CGI is supposed to grab the email (i.e., is it in a cookie or something?).

by rmcvay

You have to have two inputs in the rest of your form for those to bits of info. You have to have:

Where the person filling out the form enters THEIR email address.

Where the person filling out the form enters their name.

Once you have that you will find your From: is populated.

by jezter~

Not an answer to your question, but you might consider looking at http://willmaster.com/possibilities/ for other scripts. The reason I say this (no, I'm not linked to Will Bontrager :) ) is that even Matt says his scripts are not secure and no longer recommends them.

This discussion is closed to new replies.