Re: uploaded file cleanup?

From: Date: Wed, 25 Oct 2000 22:38:46 +0000
Subject: Re: uploaded file cleanup?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21956@lists.php.net to get a copy of this message
On Wed, 25 Oct 2000, John Damask wrote: > Does PHP4 clean up uploaded files automatically? > If I register $HTTP_POST_FILES to deal with on other pages, the array still > exists but the files (in the temp dir) don't seem to. I can only guess that > PHP deletes them at the end of a program. Is this true? Is there a setting > to prevent this? Yes, PHP deletes the temporary file after the script that processed it finishes. And no, there's no reason to prevent it. If you want to keep the file, you'll want to copy it somewhere. Matt

« previous php.general (#21956) next »