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
Warning: Invalid argument supplied will be foreach () in D:\Sites\administra _portal \ Galeria_Upload_Server.php on line 22
$files = Array (); foreach ($_FILES [ââ?¬Å?my_fieldââ?¬Â] $k => $l) { foreach ($l $i => $v) { if (! array_key_exists ($i, $files)) $files [$i] = Array (); $files [$i] [$k] = $v; } } }