Jump to content

Any documentation on .tmp files related to $_FILES ?


Recommended Posts

I've been uploading files, but instead of moving the files from /tmp/ to somewhere on the file system, I've been either storing them in the database, or using FTP functions to send them to another server. I'm not specifically deleting the file that is in /tmp/. I tried to find more about garbage collection, or what happens if I don't move or copy the file out of /tmp/, but have been searching for a while with no luck. If I watch my /tmp/ directory, as I do my uploads I don't even see the file in there for a second. So... Is the file only there until the script finishes, and then it gets deleted, or what? Am I making sense? My concern would be having a bunch of .tmp files building up over time.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.