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.
Before instantiating the class with your file, you need to move it to a location allowed by open_basedir. Check the PHP on how to do that. But basically, you can do it only with move_upload_file, as it is the function which allows you to access a file protected by open_basedir.
In fact, if the class is directly receiving the form, then it will automatically use move_upload_file for you. I am not sure why you need to have another script calling a second script. But doing so, you need first to move the files before you can process them as local files.Reply
In fact, if the class is directly receiving the form, then it will automatically use move_upload_file for you. I am not sure why you need to have another script calling a second script. But doing so, you need first to move the files before you can process them as local files.