Yep describing your issue as a problem with extra fields was a bit weird hense why I asked to see what you mean
. Your having an issue with php cutting out cause your uploading large files and it is stopping. Bet your using GD2 which consumes php memory.
Let's do this in uploadphoto.php and bulkupload.php
above that add this