Re: PHP 4.0 Bug #8758: Lots of zero-sized files remain in directory for tmp files uploaded via POST

From: Date: Wed, 17 Jan 2001 13:48:58 +0000
Subject: Re: PHP 4.0 Bug #8758: Lots of zero-sized files remain in directory for tmp files uploaded via POST
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44360@lists.php.net to get a copy of this message
On 17 Jan 2001 kappa@antar.bryansk.ru wrote: >From: kappa@antar.bryansk.ru >Operating system: FreeBSD >PHP version: 4.0.4pl1 >PHP Bug Type: Filesystem function related >Bug description: Lots of zero-sized files remain in directory for tmp files uploaded via POST > >I have a form with some type="file" fields for uploading images. >If a user really fills a field, then I can handle the file properly and it gets deleted from >./tmp dir on script >completion. But if a user leaves the field empty, php creates a zero-sized file in ./tmp and >does not >delete it. I even don't have to delete myself, because I get 'none' as filename >inside my script. > >After a month of heavy use, I have a REALLY huge ./tmp directory full of zero-sized files named >like >phpsC7799 (example). Are you REALLY using 4.0.4pl1 ??? As this should be fixed. --Jani

« previous php.dev (#44360) next »