Can anyone give me code examples of determining the temp directory for files that have been created by scripts (specifically, created by a SELECT INTO OUTFILE statement)? I can create the file, but I can't figure out where it's been created or how to programmatically extract that information to pass it to a copy or move command...

I don't want to set the temp directory for uploads, because I think that might interfere with other developers' code on the same box - and I don't even know whether that would work, considering these files aren't uploaded.

Thanks dudes!

Mandi