PHP 4.0 Bug #8758 Updated: Lots of zero-sized files remain in directory for tmp files uploaded via POST
| From: | sniper@php.net | Date: | Wed, 17 Jan 2001 21:35:24 +0000 |
| Subject: | PHP 4.0 Bug #8758 Updated: Lots of zero-sized files remain in directory for tmp files uploaded via POST | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44418@lists.php.net to get a copy of this message | ||
ID: 8758
Updated by: sniper
Reported By: kappa@antar.bryansk.ru
Old-Status: Closed
Status: Bogus
Bug Type: Filesystem function related
Assigned To:
Comments:
User was using PHP 4.0.3 and this was fixed in 4.0.4 -> bogus.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-17 16:35:14] sniper@php.net
User was using PHP 4.0.3 and this was fixed in 4.0.4 -> bogus.
---------------------------------------------------------------------------
[2001-01-17 08:29:05] kappa@antar.bryansk.ru
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).
That bothers me.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8758