Looking for a perl expert to help a fellow perl student learn how to add attachments to a mailing form. It's a plus if you have a premade snippet, if you don't it's no big deal since I'm not looking for the form already made, I just need the source code and fairly decent documentation on how to accept different types of files and sizes (zip, doc, txt, gif, etc.). You probably can't do this by using sendmail and I was told Mime::Lite was the best bet, but please choose a fairly common module most servers already have. What I'm looking for: A browse field which scans their computer for a file they want to send via a cgi form, max size/file type/etc should be in there. It'd be nice if you could show me how to do multiple files. If it matters, the main portion of my script looks like: print start_form(), table( Tr( td("Subject: "), td( textfield( -name => 'subject', -size => 40 ) ) ), Tr( td("Message: "), td( textarea( -name => 'message', -columns => 40, -rows => 5 ) ) ), Tr( td("Signature: "), td( textarea( -name => 'signature', -default => $sig{'default'}, -columns => 40, -rows => 5 ) ) ), Tr( td("Password: "), td( password_field( -name => 'password', -size => 10 ) ) ), Tr( td( checkbox(-name=>'use', -value=>'yes', -label=>'Use signature'), ) ), Tr( td( checkbox(-name=>'save', -value=>'yes', -label=>'Save signature'), ) ), td(submit('button','submit')) ), end_form(), hr();
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
anything which uses Perl