Thread Fileupload mit Statusanzeige (17 answers)
Opened by Paulaner at 2010-08-08 16:21

pq
 2010-08-08 17:26
#140473 #140473
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
du musst einen upload-hook benutzen. in diesem hast du zugriff auf upload-informationen.
aus der doku:
Code: (dl )
1
2
3
4
5
6
7
        $q = CGI->new(\&hook [,$data [,$use_tempfile]]);

sub hook
{
my ($filename, $buffer, $bytes_read, $data) = @_;
print "Read $bytes_read bytes of $filename\n";
}
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Fileupload mit Statusanzeige