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