http://qs321.pair.com?node_id=229267


in reply to Images into MySQL database

As merlyn would say, I have a column on that. ;)

For an alternative way of reading a binary file and storing its data into a database, have a look at Handling huge BLOB fields with DBI and MySQL
You may use the read function to get the data into your variable, with some more control on how much you are reading. See the "upload" sub in the above node for a suitable example.
 _  _ _  _  
(_|| | |(_|><
 _|   

Replies are listed 'Best First'.
Re: Re: Images into MySQL database
by cidaris (Friar) on Jan 23, 2003 at 09:50 UTC
    I don't like to use the word "Great American Hero" very often, but I think I'm required in this case to call gmax my new "Great American Hero".

    This kind of write-up is exactly what I was looking for, as the DBI docs and the like tend to be sparse.

    I appreciate this article more than you know.

    ++ !
    cidaris