Jump to content

Any documentation on .tmp files related to $_FILES ?


sKunKbad

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.