pollythin Posted July 24, 2007 Share Posted July 24, 2007 Hi, Please help me to set the value for 'upload_tmp_dir' in the .htaccess file. I'm running a code from this path '/public_html/internal/projects/myworks/' and I want to upload images/files into this path '/public_html/internal/projects/myworks/personalimage/'. Now the problem is there is no path setted into the server's php.ini file. So I have to do it via .htaccess file. I already created a tmp folder into the '/public_html/'. But could not able to set the right path in .htaccess file. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/61499-how-to-set-value-for-upload_tmp_dir-in-htaccess/ Share on other sites More sharing options...
metrostars Posted July 24, 2007 Share Posted July 24, 2007 You could try using php_value upload_tmp_dir /path/to/file but there seems to be lots of problems with that, if it fails you could try http://uk.php.net/manual/en/function.ini-set.php Link to comment https://forums.phpfreaks.com/topic/61499-how-to-set-value-for-upload_tmp_dir-in-htaccess/#findComment-306144 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.