Syntactic Confectionery Delight | |
PerlMonks |
Re: insert file into mysqlby Adrade (Pilgrim) |
on Feb 01, 2006 at 05:04 UTC ( [id://526963]=note: print w/replies, xml ) | Need Help?? |
I think you're looking to collect a piece of textual information in addition to binary data from a file. The first thing you're gonna need to be sure of is that your table is setup correctly. Presumably, you're going to need a sort of TEXT field for the address, and you're gonna need a BLOB for the binary data.
The HTML is gonna need to be setup something like this: The Perl code is going to probably be something like this: Although this is rather basic (and untested!!), I hope it leads to an eventual solution to your problem, of course, assuming that I am understanding it correctly :-). Best, and good luck! -Adam --
In Section
Seekers of Perl Wisdom
|
|