in reply to Problems with uploading a file from a web form

Here is a portion of code that uploads a file using HTTP::Request::Common and LWP::UserAgent:
my $req = POST "$url",Content_Type => 'form-data',Content => [ user_id + =>$usr{user_lc},password => $usr{password},session_id => $usr{sessi +on_id},image1 => ["$image_path1"] ];

Replies are listed 'Best First'.
Re: Re: Problems with uploading a file from a web form
by Sihal (Pilgrim) on Nov 12, 2002 at 13:46 UTC
    oops already answered by dingus