Clarky Posted February 5, 2007 Share Posted February 5, 2007 Heya, i'm trying to change my upload_max_filesize in my php script, using this code: print ini_get('upload_max_filesize'); if(!ini_set('upload_max_filesize',"10M")) { echo "<br>Failed"; } Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 5, 2007 Share Posted February 5, 2007 you can't change that setting in your php code if the version of php you are running is 4.2.3 or greater (prior to this version you could.) You need access to either of the following: php.ini file apache http.conf file OR .htaccess file WITH the server settings allowing you to set various php_flags. Quote Link to comment 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.