At 19:55 04.03.2003, Joseph Bannon spoke out and said: --------------------[snip]--------------------
Regarding file uploads...--------------------[snip]--------------------
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?
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php