Inserting modified image into a database

See all posts See thread Reply

Re: Inserting modified image into a database new!
by Rocket Dog, 15 years, 9 months ago
Yes, I think that will work. I will try it and see. I was trying to accomplish everything strictly through the upload class, but there's no reason to avoid using the built-in PHP functions, I guess! Thanks, and I'll let you know how it goes.Reply
Re: Inserting modified image into a database new!
by colin, 15 years, 9 months ago
I see your point. Using the code above, with the PHP functions, it is true that you are not benefiting from the built-in class functions that are dealing with the files (renaming, overwriting, etc...).

This said, calling process() without an argument, and retrieving the image contents directly is an acceptable low level use of the class. You shouldn't have to write much code on top of it.Reply