Hello,
I am having a hard time with storing config data in a script. It's a mail script for a form that I am going to put on a site that I am wroking on for my Mom. I don't know Perl and so I've been trying but everything I've tried either causes errors or just doesn't work. The configuration data is in the form itself. The form of course submits to the script. I don't want all of this stuff visible in the form plus I'd kind of like to work it so that I can sort of configure how the e-mail looks that is sent to my Mom and the configure how the one looks that is sent to the person submitting the form. Any help is greatly appreciated. I posted the perl script for download at
www.ownadream.com/mail.zip.
Thank you,
David
<form action="
http://www.ownadream.com/cgi-bin/mail.pl" method="post">
<input type="hidden" name="recipient" value="she&
#114;r
;i
4;o&#
119;n
ad
;r
01;a&#
109;.&
#99;o
m">
<input type=hidden name="subject" value="ownadream.com contact submission">
<input type=hidden name="redirect" value="
http://www.ownadream.com/thanks.html">
<input type="hidden" name="required" value="name,email,message"
>
<input type=hidden name="sort" value="order:name,address,
city,state
,zip,workp
hone,homep
hone,fax,e
mail,messa
ge,relocat
ion,mailli
st">
<input type=hidden name="print_config" value="name,address,city,s
tate,zip,w
orkphone,h
omephone,f
ax,email,m
essage,rel
ocation,ma
illist">
<input type=hidden name="missing_fields_redir
ect" value="
http://www.ownadream.com/oops.html">
<input type="hidden" name="courtesy_reply" value="yes">
<input type="hidden" name="courtesy_our_email" value="Sherri Dyer <sherri@ownadream.com&g
t;">
<input type="hidden" name="courtesy_our_url" value="
http://www.ownadream.com/">
<input type="hidden" name="courtesy_reply_texta
" value="Your e-mail has been received. You should expect a response within three working days. If you are requesting a relocation package, it will arrive within two weeks. Please, feel free to contact me if you need any additional information.">
<input type="hidden" name="cc_visitor" value="0">
<input type="hidden" name="append_db" value="./formdata/ownadrea
m.dat">
<input type="hidden" name="db_delimiter" value="|">
<input type="hidden" name="db_fields" value="name,email">