Re: file uploads

From: Date: Tue, 04 Mar 2003 19:36:09 +0000
Subject: Re: file uploads
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-138156@lists.php.net to get a copy of this message
Ernest E Vogelsinger wrote:
At 19:55 04.03.2003, Joseph Bannon spoke out and said: --------------------[snip]--------------------
Regarding file uploads... 1) Do the temp files automatically delete, or do I need to put something in the code to delete them? 2) If automatically, how long? Where can I set the length of time until they are deleted? 3) If not, is there a place I can make it be automatic?
--------------------[snip]-------------------- As far as I know (not 100% sure, though...): 1) yes, they do; no, you don't 2) they're deleted by move_uploaded_file(), or when your script exits 3) n/a
The RFC indicates that the http protocol will ensure the temporary file is deleted at the end of the request. The fine manual answersd these specific questions. HTH Chris


« previous php.general (#138156) next »