Jump to content

Recommended Posts

Hi there

 

If i have a form with several file input fields. Do I have to put the

 

<input type="hidden" name="MAX_FILE_SIZE" value="30000">

 

every time befor the file field?

 

Or are all the filesizes from the different files added together and result in the value="30000"?

 

Are there any futher methods of managing the filesize with php?

 

Thanks

Tempi

Link to comment
https://forums.phpfreaks.com/topic/72904-multiple-files-upload/
Share on other sites

You can change the settings in php.ini

 

max_execution_time = 30    ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

Link to comment
https://forums.phpfreaks.com/topic/72904-multiple-files-upload/#findComment-367681
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.