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.
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...
Another option to try is to hide startup errors/warnings by setting display_startup_errors
to off
in php.ini
.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community