soycharliente Posted November 16, 2008 Share Posted November 16, 2008 I'm adding an upload script to my website. What do you guys use for the image size limit in bytes? More specifically, what's a standard size to limit in bytes? I'm just trying to get an idea of what a good limit to use is. Quote Link to comment https://forums.phpfreaks.com/topic/132966-solved-file-upload-size/ Share on other sites More sharing options...
redarrow Posted November 16, 2008 Share Posted November 16, 2008 sorry but the size off the uploaded file is your choice like saying how long a bit off string there no standard size.. it all prefrence no guidelines......... $_FILES['userfile']['size'] The size, in bytes, of the uploaded file. link http://uk3.php.net/features.file-upload Quote Link to comment https://forums.phpfreaks.com/topic/132966-solved-file-upload-size/#findComment-691451 Share on other sites More sharing options...
veridicus Posted November 16, 2008 Share Posted November 16, 2008 It depends completely on the scenario. If the only uploads are many small thumbnails, for example, the limit would be low. But if I were allowing videos, the limit would be much larger. It depends on what type of files are being uploaded, how many you want to allow, how much disk space you're willing to use, bandwidth limitations, etc. Quote Link to comment https://forums.phpfreaks.com/topic/132966-solved-file-upload-size/#findComment-691452 Share on other sites More sharing options...
soycharliente Posted November 16, 2008 Author Share Posted November 16, 2008 Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/132966-solved-file-upload-size/#findComment-691461 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.