[EMAIL PROTECTED] wrote:

> I was wondering if a HTML form, and PERL, can be used so that visitors 
> to my web site can upload pictural files (ala FTP) to me?


if you're using cgi.pm, you don't need to use ftp:

use MIME::Lite;

my %email = (
   From       => 'whomever',
   To         => '[EMAIL PROTECTED]',
   Subject    => 'web image',
   Data       => 'here is the image that was submitted'
);

my $msg = MIME::Lite->new(%email);
$msg->attach(
   Type => 'image/jpeg',  # or whatever
   FH   => $cgi->upload('Filename')
);
$msg->send;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to