Can't understand why some of the array is empty.
If $_FILE['userfile']['tmp_name'] is empty, then that presumably means that the file isn't on the server cos this is supposed where the file in temporarily stored until you do something with it.
Sorry
Moderator: General Moderators