I use CGI.pm...

<form... enctype=multipart/form-data>
<input type=file name=file1>
<input type=submit>
</form>
.
.
.
open (OUT, ">/tmp/upload.$$");
while (<$FORM{'file1'}>) {
    print OUT $_;
}
close OUT;
close $FORM{'file1'};

hope this helps,

regards,

P

.-----------------------------------------------------.
|       Peter Skipworth        Ph: 03 9897 1121       |
|      Senior Programmer      Mob: 0417 013 292       |
|      realestate.com.au   [EMAIL PROTECTED]     |
`-----------------------------------------------------'

Reply via email to