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, 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
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
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.