Eiolon Posted August 2, 2011 Share Posted August 2, 2011 Since I cannot edit the php.ini file in shared hosting environment, how would I set the file upload path and size? Thanks! Link to comment https://forums.phpfreaks.com/topic/243606-shared-hosting-setting-file-upload-config/ Share on other sites More sharing options...
wildteen88 Posted August 2, 2011 Share Posted August 2, 2011 You maybe able to override the php.ini setting using the ini_set function within your php scripts. Or using a .htaccess file using the php_flag directive Example htaccess file php_flag upload_tmp_dir /path/to/tmp/dir/ php_flag upload_max_filesize 50M Link to comment https://forums.phpfreaks.com/topic/243606-shared-hosting-setting-file-upload-config/#findComment-1250777 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.