php – 我怎么能抓住这个错误? (POST Content-Length ……)

前端之家收集整理的这篇文章主要介绍了php – 我怎么能抓住这个错误? (POST Content-Length ……)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
上传图片时我收到此错误:(最多8张图片)
Warning: POST Content-Length of 14259306 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

如何定制显示此消息?我的意思是我想把这个错误放在CSS风格中.谢谢….

如果出现常见错误,则需要设置错误处理程序.有关详情,请参见 here.但

If errors occur before the script is executed (e.g. on file uploads) the custom error handler cannot be called since it is not registered at that time.

猜你在找的PHP相关文章