Jump to content

Multiple Files Upload


tempi

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.