php.ini files - upload_tmp_dir

upload_tmp_dir

This setting controls the temporary location of files uploaded with an HTML form.

If you don't specify a path for this setting, uploaded files will be temporarily stored in a world-readable location on the server.

To protect ease of manipulation and the confidentiality of such files, you should create a directory in your account and specify the new path in your php.ini file:


upload_tmp_dir = /home/yourusername/public_html/acoustomfolder/tmp

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to turn PHP register_globals to ON

This post is in regards to .htaccess files and php.ini files and phpSuExec.Because some of our...

What PHP Version does my Hosting Account Have?

In general we like to upgrade to the latest stable php version when its released.To check the...

Enabling Mod Rewrite

Mod rewrite is enabled on the server itself so when you set up a domain the only thing that needs...

PHP settings that cannot be changed on Shared Hosting

Shared and Reseller hosting are shared environments and have certain limits on what can be...

How to upgrade PHP on my Cpanel hosting account

You are reading this article because you want to increase/decrease the PHP version on your Cpanel...