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.
more info about the class
function my_autoloader($classe) { include 'class/'.$classe.'.class.php'; } spl_autoload_register('my_autoloader');
you have to rename it upload.class.php
here is my autoloader : it work with the class renamed