open my $handle, "< $pictures" or die
"Can't open $pictures : $!";
binmode ($handle);
$/=undef;
$afbeelding = <$handle>;
2006/11/15, Maxou06 <soccermaniaque hotmail.com>:
>
> Hi
>
> I searching on the web and reading for the last two
day's and I did not
>
> find any code exemple to upload a file from my web page
to blob mysql
> column. I tried a little code but it does not work.
>
>
> open my $handle, "< $pictures" or die
"Can't open $pictures : $!";
> binmode ($handle);
> $afbeelding = <$handle>;
>
>
> $newItem1="insert into item1
values('$afbeelding')";
>
>
> I also tried to display this pictures but I does not
work.
>
>
> my $test=$Row->;
> binmode $test;
> print $test;
>
>
> Can you point me to the right direction. thx in
advance
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Perl Programming" group.
To post to this group, send email to perl-programming googlegroups.com
To unsubscribe from this group, send email to
perl-programming-unsubscribe googlegroups.com
For more options, visit this group at
http://groups-beta.google.com/group/perl-programming
-~----------~----~----~----~------~----~------~--~---
|