Store file in database

Hi I would like to store a image in a mysql table. I have fallowed the guide from the cookbook, on how to upload a file to the file system. And it works perfectly :)

But how do I store it as a BLOB my db instead?

Sorry have found the way …

mind to share?