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.
The class attempts to create a temp file in case of open_basedir restrictions, not a directory. mkdir() will be used only if the destination directory doesn't exist. The destination directory is the argument when you call process().
Create your destination via FTP first, or else try the following:
Create your destination via FTP first, or else try the following: