Put Actual Image in database...

See all posts Reply

Put Actual Image in database... new!
by Scot Phillips, 16 years, 7 months ago
Is there anyway to upload an image, and also store the image in a database?Reply
Re: Put Actual Image in database... new!
by colin, 16 years, 7 months ago
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