Jump to content

[Solved] File Upload


electromoth

Recommended Posts

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

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

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

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