ID: 14310 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: HTTP related Operating System: Linux PHP Version: 4.0.6 New Comment:
Fixed in CVS. You'll have to wait for version 4.2.0... Derick Previous Comments: ------------------------------------------------------------------------ [2001-12-01 16:33:14] [EMAIL PROTECTED] When a zero-length file is uploaded, the temporary file is not created, and the appropriate variable is set to 'none'. This forces me into all sorts of hacks in my php code (can't use is_uploaded_file() and move_uploaded_file(), for instance), to give empty files special treatment. I think that *a file is a file*, and its size should not matter, as long as it is within limits. Many thanks, -- Arcady Genkin ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14310&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]