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.
The last version can do that. From the changelog: "the class can now output the uploaded files content as the return value of process() if the function is called with an empty or null argument, or no argument"
However, this is generally not recommended. A database is hardly a place to store such data as images.
Note that you can also process the image regularly, and then read it and insert it as a blob in your database, then delete the file.Reply
However, this is generally not recommended. A database is hardly a place to store such data as images.
Note that you can also process the image regularly, and then read it and insert it as a blob in your database, then delete the file.