Thread Filehandle in die Datenbank (9 answers)
Opened by Froschpopo at 2007-05-09 11:05

Froschpopo
 2007-05-09 11:48
#76580 #76580
User since
2003-08-15
2653 Artikel
BenutzerIn
[default_avatar]
[quote=renee,09.05.2007, 09:25]
Code: (dl )
1
2
3
my $bin_data = do{ local (@ARGV,$/) = $file; <> };

....INSERT INTO fotos (bin_data, name) VALUES ($bin_data, $name)
[/quote]
sieht ziemlich kompliziert aus! was ist daran besser und warum?
Code: (dl )
local (@ARGV,$/) = $file; <> 

hab ich noch nie gesehen......

View full thread Filehandle in die Datenbank