electromoth Posted May 25, 2010 Share Posted May 25, 2010 Hi, I have some trouble with file uploads via HTTP. While the PHP configuration overview in cPanel says that upload_max_filesize would be set to 20 MB, my upload attempts fail with about 8 MB and above. I tried to catch the PHP variable $_FILES, but it wasn't set so there was no error ID. Am I doing something wrong or is the size limit set to another value than told by cPanel? Thanks in advance, electromoth Link to comment Share on other sites More sharing options...
Wizard Posted May 25, 2010 Share Posted May 25, 2010 This support request is being escalated to our root admin. Link to comment Share on other sites More sharing options...
Ashoat Posted May 25, 2010 Share Posted May 25, 2010 upload_max_filesize is definitely set to 20 MiB. Are you sure there isn't a bug in your code? Link to comment Share on other sites More sharing options...
electromoth Posted May 28, 2010 Author Share Posted May 28, 2010 Well, my code seems to be fine. If I try files smaller than 8 MB, it works. Theoretically, there *could* be a bug in my code. I have written it manually. But is it possible that the size issue is related to bad code?! Link to comment Share on other sites More sharing options...
Ashoat Posted May 28, 2010 Share Posted May 28, 2010 Well that's what the php.ini file says. If you know of any other place in PHP that could limit upload file size, let me know and I'll check. Otherwise, I think it's on your end. Link to comment Share on other sites More sharing options...
electromoth Posted May 31, 2010 Author Share Posted May 31, 2010 Okay, thanks. I'll try some analysis for myself. Link to comment Share on other sites More sharing options...
Ashoat Posted June 1, 2010 Share Posted June 1, 2010 No problem Link to comment Share on other sites More sharing options...
Recommended Posts