Re: form script question
- From: "J. Gleixner" <glex_no-spam@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jul 2007 15:10:30 -0500
David Pyles wrote:
On 7/30/2007 12:47 PM, J. Gleixner wrote:David Pyles wrote:Thanks. Mumia W. suggested the same thing in a private email, but it soesn't work. I just get a server error. I guess I'll leave it as is.I'm a web designer, but not a perl programmer. I've been working on some forms using the form mail program that is part of VDeck.
Whatever that is...
$vdeck->send_email({ -to => $to,
-from => $to,
-cc => [split ',', $cc],
-bcc => [split ',', $bcc],
-subject => "Feedback: from $form_meta->[2]",
-message => $message
});
Can someone tell me how to modify this script to make it pick-up the value of a hidden "subject" field in the form and place it's value in the subject line of the resulting email?
-subject => $q->param('name_of_hidden_subject_field'),
If $to is supplied via the form, then anyone can easily set it and use your site to send E-Mail to anyone.
Dave Pyles
You're not giving us enough information to help you. What's the error
and the code you're using that causes the error?
If the HTML contains...
<form ...>
<input type="hidden" name="bar" value="foo">
....other form elements...
<input type="submit">
</form>
And the CGI program to process it contained something like:
use CGI;
my $q = CGI->new();
my $hidden_value = $q->param( 'bar' );
Then $hidden_value will be 'foo'.
Possibly it's something to do with 'VDeck', so maybe it's covered in
the documentation for that product.
.
- Follow-Ups:
- Re: form script question
- From: David Pyles
- Re: form script question
- References:
- form script question
- From: David Pyles
- Re: form script question
- From: J. Gleixner
- Re: form script question
- From: David Pyles
- form script question
- Prev by Date: Re: deleting duplicates in array using references
- Next by Date: Re: form script question
- Previous by thread: Re: form script question
- Next by thread: Re: form script question
- Index(es):
Relevant Pages
|