class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Yes, the files are only dealt with as files. I think I can add in the class a way to output the content of the image into a variable, so that it can be stored as a blob, etc...
But generally, a database is not exactly the best place to store images.
But generally, a database is not exactly the best place to store images.
I add this to my to-do list.