I've got a form that has 4 file upload fields, two of which are required.
After attaching two files and submitting, the files are correctly moved to the writeable directory on my web server but when they are attached to the email, one file is fine and the other is 0 bytes.
The files in the upload directory are in-tract, it's only the emailed files that don't work properly.
I also get an error after uploading:
Warning: filesize() [function.filesize]: stat failed for C:\\WINDOWS\\TEMP\\php524.tmp in …\\lib_validate.php on line 269
Warning: fread() [function.fread]: Length parameter must be greater than 0 in …\\lib_validate.php on line 269
I'm almost positive that the error and the fact that the two files are not both getting emailed properly.
When attaching 3 or more files, all files are emailed as zero bytes.
Any help with this would be greatly appreciated.