when the file is uploaded, it is written to the os temp dir [*nix is
usually /tmp/file_name]. typically using move_uploaded_file() means that
you want to keep a [semi]permanent copy of the file somewhere. you don't
need to move the file to read it. if you read it as previously
explained, rather than moving it, then the systme's garbage cleanup will
take care of it. *best practice alert* - i always manually remove the
file when i am finished with it, even when in the /tmp/ directory.
Wade Preston Shearer wrote:
I guess an important question is whether the file is actually even in
a temporary location or if it is just in memory. Does
move_uploaded_file() actually _move_ the file or is it just writing it
out from memory?
------------------------------------------------------------------------
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net