DaveEverFade Posted June 22, 2007 Share Posted June 22, 2007 Hopefully you won't need example code for this. Does anybody know how to change the default file upload temp area on a IIS server (not using .htaccess or php.ini) using PHP? Many thanks, Dave Quote Link to comment https://forums.phpfreaks.com/topic/56708-change-default-temp-file-upload-area/ Share on other sites More sharing options...
Wildbug Posted June 22, 2007 Share Posted June 22, 2007 http://us2.php.net/manual/en/ini.core.php#ini.sect.file-uploads http://us2.php.net/manual/en/function.ini-set.php PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf Can't be done via ini_set(), i.e., script-side. You can use move_uploaded_file() once it's uploaded, but can't help you on pre-upload. Quote Link to comment https://forums.phpfreaks.com/topic/56708-change-default-temp-file-upload-area/#findComment-280175 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.