Re: form script question



David Pyles wrote:
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.
.



Relevant Pages

  • Re: form script question
    ... some forms using the form mail program that is part of VDeck. ... I just get a server error. ... And the CGI program to process it contained something like: ...
    (comp.lang.perl.misc)
  • Re: form script question
    ... some forms using the form mail program that is part of VDeck. ... I just get a server error. ... And the CGI program to process it contained something like: ...
    (comp.lang.perl.misc)