Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Images into MySQL database

by gmax (Abbot)
on Jan 23, 2003 at 09:14 UTC ( #229267=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://229267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-06-01 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?