Support the ongoing development of Laravel.io →
Requests Input
Last updated 1 year ago.
0

You can try to add a hidden input field with name MAX_FILE_SIZE and value equal to maximum allowed file size in bytes, as per php's manual. This should prevent the warning, and instead set an appropriate error code for offending uploaded file.

0

Xum said:

You can try to add a hidden input field with name MAX_FILE_SIZE and value equal to maximum allowed file size in bytes, as per php's manual. This should prevent the warning, and instead set an appropriate error code for offending uploaded file.

No luck...

0

Another option to try is to hide startup errors/warnings by setting display_startup_errors to off in php.ini.

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.