[EMAIL PROTECTED] wrote: > Hello, > I build a simple File-Upload form: > <html> > <form action="test_upload" enctype="multipart/form-data" method="post"> > <input type="text" name="text"> > <input type="FILE" name="Tfile" accept="*/*"> > <input type="submit" value="upload"> > </form></html> > and a script test_upload, which is called from the form: > <%perl> > my $file = $r->upload; > my $ftype = $file->info->{'Content-Type'}; > my $fsize = $file->size; > my $fname = $file->filename; > $m->out("$ftype : $fsize : $fname"); > </%perl> > <%ARGS> > $Tfile => undef > </%ARGS> > With netscape this works well, but with opera and internet-explorer > (tested with 6.0), $r->upload isnt defined? What am i doing wrong here? > Bye, Olaf
Try: http://perl.apache.org/release/docs/1.0/guide/snippets.html#File_Upload_with_Apache__Request __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com