If you don't call move_uploaded_file(), you can read the temporary file. It's not in memory or anything - just a file in a temporary directory somewhere, depending on how things are configured. You can get the file name from the $_FILES superglobal (e.g. $_FILES['userfile']['tmp_name'] where userfile is the name of your file <input> element).
See http://us.php.net/features.file-upload On Wed, Jul 30, 2008 at 12:52 PM, Morgan Terry <[EMAIL PROTECTED]> wrote: > If you don't call move_uploaded_file(), you can read the temporary > file. It's not in memory or anything - just a file in a temporary > directory somewhere, depending on how things are configured. You can > get the file name from the $_FILES superglobal (e.g. > $_FILES['userfile']['tmp_name'] where userfile is the name of your > file <input> element) > > See > http://us.php.net/features.file-upload > > > On Wed, Jul 30, 2008 at 12:44 PM, Wade Preston Shearer > <[EMAIL PROTECTED]> 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
