I would like to change the application’s temporary path to a subfolder so that users on the shared server cannot see the downloaded files.
I would like to be able to do this at runtime or via .htaccess if possible (although I would like the new temporary path to be a subdirectory of the original temporary path). I can not edit php.ini on a shared server.
I know that I can verify that the tmp path occurs through sys_get_temp_dir (), but there seems to be no way to set it.
Is it possible?
source share