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. Link to comment https://forums.phpfreaks.com/topic/101323-uploading-files-to-my-server/ 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. Link to comment https://forums.phpfreaks.com/topic/101323-uploading-files-to-my-server/#findComment-518275 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. Link to comment https://forums.phpfreaks.com/topic/101323-uploading-files-to-my-server/#findComment-518333 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.