Thread upload script -> 0 byte datei (17 answers)
Opened by e-weder at 2006-06-27 00:06

esskar
 2006-06-28 01:35
#8187 #8187
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
[quote=e-weder,27.06.2006, 23:15]das ist die zweite dateiarbeit.
aber damit ist doch alles ok, oder?[/quote]
hmm
du frägst nicht ab, ob das open klappt.

ansonsten

Code: (dl )
1
2
3
4
5
6
7
8
9
10
sub open_template {
my $path = shift;

my $data;
if(open(DATA, "< $path")) {
$data = join '', <DATA>;
close DATA;
}
return $data;
}

View full thread upload script -> 0 byte datei