PHP 4.0 Bug #8915: zero length file created on file upload with no file, temp file is not deleted
| From: | danbeck at dealnews dot com | Date: | Thu, 25 Jan 2001 20:56:45 +0000 |
| Subject: | PHP 4.0 Bug #8915: zero length file created on file upload with no file, temp file is not deleted | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45008@lists.php.net to get a copy of this message | ||
From: danbeck@dealnews.com
Operating system: linux 2.2.x (redhat 6.2)
PHP version: 4.0.3pl1
PHP Bug Type: *General Issues
Bug description: zero length file created on file upload with no file, temp file is not deleted
If you attempt to post a multipart/form-data form without supplying a file in the browser, php
creates a zero length temp file, but does not remove it after script execution.
Form Example:
<FORM ACTION="index.php" METHOD="post"
ENCTYPE="multipart/form-data">
<INPUT TYPE="file" NAME="file">
</FORM>
--
Edit Bug report at: http://bugs.php.net/?id=8915&edit=1