Is there a way to change the default temporary path in uploading file via html form. Or you can understand it as i want to set $_FILES["uploadfile1"]['tmp_name']
of my choice.
At your php.ini change upload_tmp_dir
Perhaps you can set it at your code directly whitout changing it at php.ini using
ini_set('upload_tmp_dir','/new temp folder');
but I am not 100% sure it will works..