close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

question on max file size upload

Thread began 10/26/2009 12:39 am by JBWebWorks | Last modified 10/27/2009 12:35 pm by Jason Byrnes | 1650 views | 5 replies |

JBWebWorks

question on max file size upload

using PHP my server default for max file size is 2MB

question-
if i have a form with 3 file fields using DFP, will the max upload be 2MB for the three files combined or is each file field allowed 2MB?

thanks
Jim Balthrop

Sign in to reply to this post

Jason ByrnesWebAssist

The 2mb limit is applied to each file field separately.


Be aware of the other restrictions on file uploading though. For example the "post_max_size" setting. This restricts the size of the entire forms post collection, and must be created than the "upload_max_filesize".


In your case with three file fields and a 2mb limit on upload_max_filesize, the post_max_size will need to be at least 6.5 or 7mb.


See the following for info on settings that effect file uploads:
wap_upload.asp?page=php2

Sign in to reply to this post

JBWebWorks

thanks Jason for the info

everything on my server seems ok except perhaps
max_input_time is 60
max_execution time is 30

someone with slower connection speed could time out?

if i changed this setting, what is suggested?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, those could cause a timeout on slower connections.

As for what is recommended, that's a rather large can of worms. you dont want to set those values to high, try doubling them and see if you have any problems. If you do, then up them by a quarter again. there is no *hard* recommendation, it really comes down to 'what works for your site'.

Sign in to reply to this post

JBWebWorks

i changed settings to

max_input_time 120
max_execution time 60

thanks Jason for your help.
will let you know if i have any more problems

jim balthrop

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...