Thread Dateiexplorer entwickeln??? (53 answers)
Opened by skontox at 2003-08-27 12:48

[E|B]
 2003-08-27 18:32
#1995 #1995
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Oder du setzt mit Perl eine Location drauf:

Code: (dl )
Location: data.tar.gz\n\n


Oder du liest die Datei ein und gibst sie direkt dem Benutzer aus:

Code: (dl )
1
2
3
4
5
6
7
open(F, "data.tar.gz");
binmode(F);
print "Content-Type: application/octet-stream;\n";
print "Content-Disposition: filename=data.tar.gz;\n\n";
binmode(STDOUT);
print <F>
close(F);
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]

View full thread Dateiexplorer entwickeln???