PHP 4.0 Bug #8915 Updated: zero length file created on file upload with no file, temp file is not deleted

From: Date: Fri, 26 Jan 2001 00:58:56 +0000
Subject: PHP 4.0 Bug #8915 Updated: 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-45026@lists.php.net to get a copy of this message
ID: 8915 Updated by: sniper Reported By: danbeck@dealnews.com Old-Status: Open Status: Closed Bug Type: *General Issues Assigned To: Comments: This is fixed in PHP 4.0.4pl1. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-25 15:56:45] danbeck@dealnews.com 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> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8915

« previous php.dev (#45026) next »