Jump to content

Recommended Posts

Posted

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

Posted

upload_max_filesize is definitely set to 20 MiB. Are you sure there isn't a bug in your code?

Posted

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?!

Posted

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...