I would like to change my applications temp path to a subfolder, so that users on a shared server cannot see any uploaded files.
I would like to be able to do this run-time, or via .htaccess if possible (although I would like the new temp path to be a subdir of the original temp path). I can’t edit the php.ini on the shared server.
I know I can check what the tmp path is via sys_get_temp_dir(), but there doesn’t seem to be a way to set it.
Is this even possible?
upload_tmp_dir