I have a very strange problem with an uploading class I created. It worked last week but when I came to try it this week (nothing changed to the class or to PHP) it won't work.
I have a file field called userfile in my upload script. When I try and use print_r ($_FILES) I get Array () and two errors:
Notice: Undefined index: userfile in c:\development server\websites\test\admin\images_create.php on line 9
Notice: Undefined index: userfile in c:\development server\websites\test\admin\images_create.php on line 9
Which are for $FILES['userfile']['tmp_name'] and $FILES['userfile']['name']. I know access to that directory is correct since I can delete contents from it but just not upload.
Any help would be greatfully appreciated.