lisa33 Posted April 16, 2008 Share Posted April 16, 2008 I created a form with a file upload button meant to upload large video files to my server, mainly because emails dont allow large files to be transmitted. If I dont set a file size limit in my script will all file sizes be able to uploaded? Are there any advantages to setting a file size? When I tested the upload feature it seemed to take a really long time.. is this due to not setting a file size? Thank you very much! Lisa. Quote Link to comment Share on other sites More sharing options...
mrdamien Posted April 16, 2008 Share Posted April 16, 2008 If you don't set a limit, the php configured limit will be used. If you set your limit too high, people could upload tons of stuff, and use up all your disk space. Uploads take a long time because your typical internet connection has around 1/8th the upload speed when compared to the download speed. Quote Link to comment Share on other sites More sharing options...
haku Posted April 16, 2008 Share Posted April 16, 2008 php.ini (the php config file) generally has a maximum upload size of 2 meg set by default. So that will be your initial limit unless it has already been changed, or you change it. 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.