and the tmp files will be delete by php automatically, if the process done, or the process terminated? cleaning up the files in the tmp is taken care by the php automatically or it is taken care by linux server or windows sever periodically by the server maintenance set up?
or do i have to worry about the script leave the files in tmp and do the damage to the server, windows case or linux case?
the file size, extension and other file contributes checking is after the file is uploaded, right?
chmod, unlink ,rmdir are unix commands. php use it just as function names for us to easy remember? when php calls these commands on linux or unix, does php really call the same shell commands? what happens when php use unlink, rmdir on the windows, it calls the same function "thread" of windows server?
thanks!