throw new Exception('An error occured when uploading your file.');
I mean, am I doing something wrong? Or is it just my variables that probably isn't correct?
Got this now:
Warning: move_uploaded_file(images/2/tmp/23aede79f5b4c7aa2a97d7af38023893.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\wamp\www\test\Upload.php on line 142
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\wamp\tmp\phpABF.tmp' to 'images/2/tmp/23aede79f5b4c7aa2a97d7af38023893.jpg' in C:\wamp\www\test\Upload.php on line 142