RE: [PHP] droping upload files
| From: | Jay Blanchard | Date: | Wed, 24 Aug 2005 15:11:05 +0000 |
| Subject: | RE: [PHP] droping upload files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221272@lists.php.net to get a copy of this message | ||
[snip]
it`s working for that host, but my question is.. if a user can upload
his
file on the server, despite the fact i unset all the global variables
where
the files are stored.
[/snip]
The files are stored in the designated temporary location before and
then get deleted once the process is over, which is why you must use
move_uploaded_file() http://www.php.net/move_uploaded_file to keep from
losing the file.