|
From: Jamie C. <jca...@we...> - 2002-12-03 22:27:29
|
Does the form that submits to this CGI look like :
<form action=whatever.cgi method=post enctype=multipart/form-data>
- Jamie
Gehrigal - Webminprojects wrote:
> hi Jamie
>
> thanks! - But when i try yourt solution i get allways this output message:
> "Missing Content-Disposition header"
>
>
>>I'm not too familiar with the CGI module, but using webmin's API you could
>>write :
>
>
>>&ReadParseMime();
>>my $full_filename="$skin_dir"."/".$in{'file_name'};
>>open(OUTPUT, ">$full_filename");
>>print OUTPUT $in{'file'};
>>close(OUTPUT);
|